Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71183 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2011-04-10 23:46:26


Author: ramey
Date: 2011-04-10 23:46:26 EDT (Sun, 10 Apr 2011)
New Revision: 71183
URL: http://svn.boost.org/trac/boost/changeset/71183

Log:
small fixes to address track items
Text files modified:
   trunk/boost/serialization/export.hpp | 2 +-
   trunk/boost/serialization/version.hpp | 5 +++++
   2 files changed, 6 insertions(+), 1 deletions(-)

Modified: trunk/boost/serialization/export.hpp
==============================================================================
--- trunk/boost/serialization/export.hpp (original)
+++ trunk/boost/serialization/export.hpp 2011-04-10 23:46:26 EDT (Sun, 10 Apr 2011)
@@ -131,7 +131,7 @@
         // through pointers to their base classes.
         instantiate_ptr_serialization((T*)0, 0, adl_tag());
     }
- const void export_guid(mpl::true_) const {
+ void export_guid(mpl::true_) const {
     }
     guid_initializer const & export_guid() const {
         BOOST_STATIC_WARNING(boost::is_polymorphic< T >::value);

Modified: trunk/boost/serialization/version.hpp
==============================================================================
--- trunk/boost/serialization/version.hpp (original)
+++ trunk/boost/serialization/version.hpp 2011-04-10 23:46:26 EDT (Sun, 10 Apr 2011)
@@ -52,6 +52,11 @@
     BOOST_STATIC_CONSTANT(int, value = version::type::value);
 };
 
+#ifndef BOOST_NO_INCLASS_MEMBER_INITIALIZATION
+template<class T>
+int version<T>::value;
+#endif
+
 } // namespace serialization
 } // namespace boost
 


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