Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76292 - trunk/boost/serialization
From: troyer_at_[hidden]
Date: 2012-01-03 13:01:00


Author: troyer
Date: 2012-01-03 13:00:59 EST (Tue, 03 Jan 2012)
New Revision: 76292
URL: http://svn.boost.org/trac/boost/changeset/76292

Log:
Attempting to fix #5640
Text files modified:
   trunk/boost/serialization/vector.hpp | 2 +-
   trunk/boost/serialization/vector_135.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/serialization/vector.hpp
==============================================================================
--- trunk/boost/serialization/vector.hpp (original)
+++ trunk/boost/serialization/vector.hpp 2012-01-03 13:00:59 EST (Tue, 03 Jan 2012)
@@ -32,7 +32,7 @@
 
 // default is being compatible with version 1.34.1 files, not 1.35 files
 #ifndef BOOST_SERIALIZATION_VECTOR_VERSIONED
-#define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V==4 || V==5)
+#define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V>4)
 #endif
 
 namespace boost {

Modified: trunk/boost/serialization/vector_135.hpp
==============================================================================
--- trunk/boost/serialization/vector_135.hpp (original)
+++ trunk/boost/serialization/vector_135.hpp 2012-01-03 13:00:59 EST (Tue, 03 Jan 2012)
@@ -18,7 +18,7 @@
 #error Boost.Serialization cannot be compatible with both 1.35 and 1.36-1.40 files
 #endif
 #else
-#define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V==4)
+#define BOOST_SERIALIZATION_VECTOR_VERSIONED(V) (V>4)
 #endif
 
 #include <boost/serialization/vector.hpp>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk