|
Boost-Commit : |
From: troyer_at_[hidden]
Date: 2007-10-07 02:57:37
Author: troyer
Date: 2007-10-07 02:57:36 EDT (Sun, 07 Oct 2007)
New Revision: 39753
URL: http://svn.boost.org/trac/boost/changeset/39753
Log:
Fix for Borland
Text files modified:
trunk/boost/serialization/valarray.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/serialization/valarray.hpp
==============================================================================
--- trunk/boost/serialization/valarray.hpp (original)
+++ trunk/boost/serialization/valarray.hpp 2007-10-07 02:57:36 EDT (Sun, 07 Oct 2007)
@@ -41,7 +41,7 @@
{
const collection_size_type count(t.size());
ar << BOOST_SERIALIZATION_NVP(count);
- if (count)
+ if (t.size())
ar << make_array(detail::get_data(t), t.size());
}
@@ -52,7 +52,7 @@
collection_size_type count;
ar >> BOOST_SERIALIZATION_NVP(count);
t.resize(count);
- if (count)
+ if (t.size())
ar >> make_array(detail::get_data(t), t.size());
}
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