|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51361 - trunk/boost/archive
From: ramey_at_[hidden]
Date: 2009-02-21 02:35:32
Author: ramey
Date: 2009-02-21 02:35:31 EST (Sat, 21 Feb 2009)
New Revision: 51361
URL: http://svn.boost.org/trac/boost/changeset/51361
Log:
permit start/end load/save to be overridable
Text files modified:
trunk/boost/archive/basic_xml_iarchive.hpp | 4 ++--
trunk/boost/archive/basic_xml_oarchive.hpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/archive/basic_xml_iarchive.hpp
==============================================================================
--- trunk/boost/archive/basic_xml_iarchive.hpp (original)
+++ trunk/boost/archive/basic_xml_iarchive.hpp 2009-02-21 02:35:31 EST (Sat, 21 Feb 2009)
@@ -77,9 +77,9 @@
boost::serialization::nvp<T> & t,
int
){
- load_start(t.name());
+ this->This()->load_start(t.name());
this->detail_common_iarchive::load_override(t.value(), 0);
- load_end(t.name());
+ this->This()->load_end(t.name());
}
// specific overrides for attributes - handle as
Modified: trunk/boost/archive/basic_xml_oarchive.hpp
==============================================================================
--- trunk/boost/archive/basic_xml_oarchive.hpp (original)
+++ trunk/boost/archive/basic_xml_oarchive.hpp 2009-02-21 02:35:31 EST (Sat, 21 Feb 2009)
@@ -99,9 +99,9 @@
::boost::serialization::nvp<T> & t,
int
){
- save_start(t.name());
+ this->This()->save_start(t.name());
this->detail_common_oarchive::save_override(t.const_value(), 0);
- save_end(t.name());
+ this->This()->save_end(t.name());
}
// specific overrides for attributes - not name value pairs so we
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