Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79535 - trunk/libs/serialization/doc
From: ramey_at_[hidden]
Date: 2012-07-15 11:47:59


Author: ramey
Date: 2012-07-15 11:47:59 EDT (Sun, 15 Jul 2012)
New Revision: 79535
URL: http://svn.boost.org/trac/boost/changeset/79535

Log:
added ar & to example to correct minor error
Text files modified:
   trunk/libs/serialization/doc/serialization.html | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/serialization/doc/serialization.html
==============================================================================
--- trunk/libs/serialization/doc/serialization.html (original)
+++ trunk/libs/serialization/doc/serialization.html 2012-07-15 11:47:59 EDT (Sun, 15 Jul 2012)
@@ -789,7 +789,7 @@
     template<class Archive>
     void serialize(Archive & ar, const unsigned int file_version){
         // method 1 : invoke base class serialization
- boost::serialization::base_object<base>(*this);
+ ar & boost::serialization::base_object<base>(*this);
         // method 2 : explicitly register base/derived relationship
         boost::serialization::void_cast_register<derived, base>(
             static_cast<derived *>=NULL),


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