Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-06-07 19:43:02


Author: ramey
Date: 2008-06-07 19:43:01 EDT (Sat, 07 Jun 2008)
New Revision: 46223
URL: http://svn.boost.org/trac/boost/changeset/46223

Log:
replace is_abstract with assume_abstract
Text files modified:
   trunk/libs/serialization/example/demo.cpp | 2 +-
   trunk/libs/serialization/example/demo_dll_a.hpp | 2 +-
   trunk/libs/serialization/example/demo_dll_a.ipp | 2 +-
   trunk/libs/serialization/example/portable_binary_oarchive.cpp | 2 +-
   4 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/serialization/example/demo.cpp
==============================================================================
--- trunk/libs/serialization/example/demo.cpp (original)
+++ trunk/libs/serialization/example/demo.cpp 2008-06-07 19:43:01 EDT (Sat, 07 Jun 2008)
@@ -20,7 +20,7 @@
 #include <boost/serialization/base_object.hpp>
 #include <boost/serialization/utility.hpp>
 #include <boost/serialization/list.hpp>
-#include <boost/serialization/is_abstract.hpp>
+#include <boost/serialization/assume_abstract.hpp>
 
 /////////////////////////////////////////////////////////////
 // The intent of this program is to serve as a tutorial for

Modified: trunk/libs/serialization/example/demo_dll_a.hpp
==============================================================================
--- trunk/libs/serialization/example/demo_dll_a.hpp (original)
+++ trunk/libs/serialization/example/demo_dll_a.hpp 2008-06-07 19:43:01 EDT (Sat, 07 Jun 2008)
@@ -143,7 +143,7 @@
         unsigned int i = std::rand() % 27;
         if(0 == i)
             break;
- x += static_cast<typename S::value_type>('a' - 1 + i);
+ x += static_cast<BOOST_DEDUCED_TYPENAME S::value_type>('a' - 1 + i);
     }
 }
 

Modified: trunk/libs/serialization/example/demo_dll_a.ipp
==============================================================================
--- trunk/libs/serialization/example/demo_dll_a.ipp (original)
+++ trunk/libs/serialization/example/demo_dll_a.ipp 2008-06-07 19:43:01 EDT (Sat, 07 Jun 2008)
@@ -143,7 +143,7 @@
         unsigned int i = std::rand() % 27;
         if(0 == i)
             break;
- x += static_cast<typename S::value_type>('a' - 1 + i);
+ x += static_cast<BOOST_DEDUCED_TYPENAME S::value_type>('a' - 1 + i);
     }
 }
 

Modified: trunk/libs/serialization/example/portable_binary_oarchive.cpp
==============================================================================
--- trunk/libs/serialization/example/portable_binary_oarchive.cpp (original)
+++ trunk/libs/serialization/example/portable_binary_oarchive.cpp 2008-06-07 19:43:01 EDT (Sat, 07 Jun 2008)
@@ -47,7 +47,7 @@
     char * cptr = reinterpret_cast<char *>(& ll);
     #ifdef BOOST_BIG_ENDIAN
         cptr += (sizeof(boost::intmax_t) - size);
- if(m_flags & endian_big)
+ if(m_flags & endian_little)
             reverse_bytes(size, cptr);
     #else
         if(m_flags & endian_big)


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