Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67072 - trunk/boost/archive
From: ramey_at_[hidden]
Date: 2010-12-06 14:16:35


Author: ramey
Date: 2010-12-06 14:16:34 EST (Mon, 06 Dec 2010)
New Revision: 67072
URL: http://svn.boost.org/trac/boost/changeset/67072

Log:
fixed import declaration on inline function
change tracking type from bool
Text files modified:
   trunk/boost/archive/basic_binary_iarchive.hpp | 1 -
   trunk/boost/archive/text_iarchive.hpp | 3 ++-
   trunk/boost/archive/text_oarchive.hpp | 3 ++-
   3 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/archive/basic_binary_iarchive.hpp
==============================================================================
--- trunk/boost/archive/basic_binary_iarchive.hpp (original)
+++ trunk/boost/archive/basic_binary_iarchive.hpp 2010-12-06 14:16:34 EST (Mon, 06 Dec 2010)
@@ -72,7 +72,6 @@
 
     // include these to trap a change in binary format which
     // isn't specifically handled
- BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(bool));
     // upto 32K classes
     BOOST_STATIC_ASSERT(sizeof(class_id_type) == sizeof(int_least16_t));
     BOOST_STATIC_ASSERT(sizeof(class_id_reference_type) == sizeof(int_least16_t));

Modified: trunk/boost/archive/text_iarchive.hpp
==============================================================================
--- trunk/boost/archive/text_iarchive.hpp (original)
+++ trunk/boost/archive/text_iarchive.hpp 2010-12-06 14:16:34 EST (Mon, 06 Dec 2010)
@@ -87,7 +87,8 @@
     init();
     BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
     text_iarchive_impl(std::istream & is, unsigned int flags);
- BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+ // don't import inline definitions! leave this as a reminder.
+ //BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
     ~text_iarchive_impl(){};
 };
 

Modified: trunk/boost/archive/text_oarchive.hpp
==============================================================================
--- trunk/boost/archive/text_oarchive.hpp (original)
+++ trunk/boost/archive/text_oarchive.hpp 2010-12-06 14:16:34 EST (Mon, 06 Dec 2010)
@@ -80,7 +80,8 @@
     #endif
     BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
     text_oarchive_impl(std::ostream & os, unsigned int flags);
- BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
+ // don't import inline definitions! leave this as a reminder.
+ //BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
     ~text_oarchive_impl(){};
 public:
     BOOST_ARCHIVE_DECL(void)


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