Ticket #6856: patch

File patch, 678 bytes (added by harris.pc@…, 10 years ago)

example patch against boost-trunk (via git repo mirror)

  • boost/archive/detail/iserializer.hpp

    diff --git a/boost/archive/detail/iserializer.hpp b/boost/archive/detail/iserializer.hpp
    index 46033fd..f690ae3 100644
    a b BOOST_DLLEXPORT void iserializer<Archive, T>::load_object_data(  
    173173    // readers of these old archives, we have to suppress this
    174174    // code.  Perhaps in the future we might re-enable it but
    175175    // permit its suppression with a runtime switch.
    176     #if 0
     176    #if 1
    177177    // trap case where the program cannot handle the current version
    178178    if(file_version > static_cast<const unsigned int>(version()))
    179179        boost::serialization::throw_exception(