|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64937 - trunk/boost/archive
From: ramey_at_[hidden]
Date: 2010-08-20 13:05:00
Author: ramey
Date: 2010-08-20 13:04:59 EDT (Fri, 20 Aug 2010)
New Revision: 64937
URL: http://svn.boost.org/trac/boost/changeset/64937
Log:
fixed STATIC_ASSERT for size of tracking_type - bool
Text files modified:
trunk/boost/archive/basic_binary_iarchive.hpp | 2 +-
trunk/boost/archive/basic_binary_oarchive.hpp | 2 +-
2 files changed, 2 insertions(+), 2 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-08-20 13:04:59 EDT (Fri, 20 Aug 2010)
@@ -72,7 +72,7 @@
// include these to trap a change in binary format which
// isn't specifically handled
- BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(char));
+ 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/basic_binary_oarchive.hpp
==============================================================================
--- trunk/boost/archive/basic_binary_oarchive.hpp (original)
+++ trunk/boost/archive/basic_binary_oarchive.hpp 2010-08-20 13:04:59 EDT (Fri, 20 Aug 2010)
@@ -77,7 +77,7 @@
// include these to trap a change in binary format which
// isn't specifically handled
- BOOST_STATIC_ASSERT(sizeof(tracking_type) == sizeof(char));
+ 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));
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