Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-07-01 01:17:58


Author: ramey
Date: 2008-07-01 01:17:58 EDT (Tue, 01 Jul 2008)
New Revision: 46938
URL: http://svn.boost.org/trac/boost/changeset/46938

Log:
added #endif to borland patch
Text files modified:
   trunk/boost/serialization/array.hpp | 9 +++++----
   1 files changed, 5 insertions(+), 4 deletions(-)

Modified: trunk/boost/serialization/array.hpp
==============================================================================
--- trunk/boost/serialization/array.hpp (original)
+++ trunk/boost/serialization/array.hpp 2008-07-01 01:17:58 EDT (Tue, 01 Jul 2008)
@@ -89,9 +89,10 @@
     template<class Archive>
     void serialize(Archive &ar, const unsigned int version)
     {
- typedef BOOST_DEDUCED_TYPENAME serialization::use_array_optimization<Archive>
- ::template apply<BOOST_DEDUCED_TYPENAME remove_const<T>::type
- >::type use_optimized;
+ typedef BOOST_DEDUCED_TYPENAME
+ boost::serialization::use_array_optimization<Archive>::template apply<
+ BOOST_DEDUCED_TYPENAME remove_const<T>::type
+ >::type use_optimized;
       serialize_optimized(ar,version,use_optimized());
     }
     
@@ -144,6 +145,6 @@
       , BOOST_DEDUCED_TYPENAME boost::remove_const<ValueType>::type \
>::type {}; \
 }; }}
-
+#endif // __BORLANDC__
 
 #endif //BOOST_SERIALIZATION_ARRAY_HPP


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