Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49296 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2008-10-12 15:34:30


Author: ramey
Date: 2008-10-12 15:34:29 EDT (Sun, 12 Oct 2008)
New Revision: 49296
URL: http://svn.boost.org/trac/boost/changeset/49296

Log:
Small changes to attempt to address borland
Text files modified:
   trunk/boost/serialization/array.hpp | 4 ++--
   trunk/boost/serialization/optional.hpp | 4 ++--
   trunk/boost/serialization/slist.hpp | 2 +-
   3 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/serialization/array.hpp
==============================================================================
--- trunk/boost/serialization/array.hpp (original)
+++ trunk/boost/serialization/array.hpp 2008-10-12 15:34:29 EDT (Sun, 12 Oct 2008)
@@ -61,7 +61,7 @@
       std::size_t c = count();
       value_type * t = address();
       while(0 < c--)
- ar & make_nvp("item", *t++);
+ ar & boost::serialization::make_nvp("item", *t++);
     }
 
     // optimized implementation
@@ -126,7 +126,7 @@
 
 void serialize(Archive& ar, boost::array<T,N>& a, const unsigned int /* version */)
 {
- ar & make_nvp("elems",a.elems);
+ ar & boost::serialization::make_nvp("elems",a.elems);
 }
 
 

Modified: trunk/boost/serialization/optional.hpp
==============================================================================
--- trunk/boost/serialization/optional.hpp (original)
+++ trunk/boost/serialization/optional.hpp 2008-10-12 15:34:29 EDT (Sun, 12 Oct 2008)
@@ -39,7 +39,7 @@
     if (tflag){
         if(3 < ar.get_library_version()){
             const int v = version<T>::value;
- ar << make_nvp("item_version", v);
+ ar << boost::serialization::make_nvp("item_version", v);
         }
         ar << boost::serialization::make_nvp("value", *t);
     }
@@ -56,7 +56,7 @@
     if (tflag){
         unsigned int v = 0;
         if(3 < ar.get_library_version()){
- ar >> make_nvp("item_version", v);
+ ar >> boost::serialization::make_nvp("item_version", v);
         }
         detail::stack_construct<Archive, T> aux(ar, v);
         ar >> boost::serialization::make_nvp("value", aux.reference());

Modified: trunk/boost/serialization/slist.hpp
==============================================================================
--- trunk/boost/serialization/slist.hpp (original)
+++ trunk/boost/serialization/slist.hpp 2008-10-12 15:34:29 EDT (Sun, 12 Oct 2008)
@@ -62,7 +62,7 @@
         return;
     unsigned int v;
     if(3 < ar.get_library_version()){
- ar >> make_nvp("item_version", v);
+ ar >> boost::serialization::make_nvp("item_version", v);
     }
     boost::serialization::detail::stack_construct<Archive, U> u(ar, v);
     ar >> boost::serialization::make_nvp("item", u.reference());


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