Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54959 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2009-07-15 02:43:15


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

Log:
Fixing error - pure virtual function call
Text files modified:
   trunk/libs/serialization/src/extended_type_info.cpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/libs/serialization/src/extended_type_info.cpp
==============================================================================
--- trunk/libs/serialization/src/extended_type_info.cpp (original)
+++ trunk/libs/serialization/src/extended_type_info.cpp 2009-07-15 02:43:14 EDT (Wed, 15 Jul 2009)
@@ -130,10 +130,18 @@
     return *(it);
 }
 
+struct null_deleter
+{
+ void operator()(void const *) const
+ {
+ }
+};
+
 BOOST_SERIALIZATION_DECL(BOOST_PP_EMPTY())
 extended_type_info::extended_type_info(
     const unsigned int type_info_key
 ) :
+ m_this(this, null_deleter()),
     m_type_info_key(type_info_key),
     m_key(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