Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54962 - trunk/boost/archive/detail
From: ramey_at_[hidden]
Date: 2009-07-15 02:45:56


Author: ramey
Date: 2009-07-15 02:45:56 EDT (Wed, 15 Jul 2009)
New Revision: 54962
URL: http://svn.boost.org/trac/boost/changeset/54962

Log:
Fixing error - pure virtual function call
Text files modified:
   trunk/boost/archive/detail/basic_serializer.hpp | 9 +++++----
   trunk/boost/archive/detail/basic_serializer_map.hpp | 2 +-
   2 files changed, 6 insertions(+), 5 deletions(-)

Modified: trunk/boost/archive/detail/basic_serializer.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_serializer.hpp (original)
+++ trunk/boost/archive/detail/basic_serializer.hpp 2009-07-15 02:45:56 EDT (Wed, 15 Jul 2009)
@@ -27,20 +27,21 @@
 namespace archive {
 namespace detail {
 
-class basic_serializer : private boost::noncopyable
+class basic_serializer :
+ private boost::noncopyable
 {
- const boost::serialization::extended_type_info & m_eti;
+ const boost::serialization::extended_type_info * m_eti;
 protected:
     explicit basic_serializer(
         const boost::serialization::extended_type_info & eti
     ) :
- m_eti(eti)
+ m_eti(& eti)
     {
         assert(NULL != & eti);
     }
 public:
     const boost::serialization::extended_type_info & get_eti() const {
- return m_eti;
+ return * m_eti;
     }
 };
 

Modified: trunk/boost/archive/detail/basic_serializer_map.hpp
==============================================================================
--- trunk/boost/archive/detail/basic_serializer_map.hpp (original)
+++ trunk/boost/archive/detail/basic_serializer_map.hpp 2009-07-15 02:45:56 EDT (Wed, 15 Jul 2009)
@@ -32,7 +32,7 @@
 namespace archive {
 namespace detail {
 
-class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_serializer;
+class /*BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())*/ basic_serializer;
 
 class BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY()) basic_serializer_map : public
     boost::noncopyable


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