Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51331 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2009-02-19 11:07:56


Author: ramey
Date: 2009-02-19 11:07:55 EST (Thu, 19 Feb 2009)
New Revision: 51331
URL: http://svn.boost.org/trac/boost/changeset/51331

Log:
Correction to extended_type_info implementation
Text files modified:
   trunk/libs/serialization/src/extended_type_info.cpp | 2 +-
   trunk/libs/serialization/src/extended_type_info_typeid.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 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-02-19 11:07:55 EST (Thu, 19 Feb 2009)
@@ -64,7 +64,7 @@
 {
 public:
     extended_type_info_arg(const char * key) :
- extended_type_info(NULL)
+ extended_type_info()
     {
         m_key = key;
     }

Modified: trunk/libs/serialization/src/extended_type_info_typeid.cpp
==============================================================================
--- trunk/libs/serialization/src/extended_type_info_typeid.cpp (original)
+++ trunk/libs/serialization/src/extended_type_info_typeid.cpp 2009-02-19 11:07:55 EST (Thu, 19 Feb 2009)
@@ -82,7 +82,7 @@
 BOOST_SERIALIZATION_DECL(void)
 extended_type_info_typeid_0::type_unregister()
 {
- if(NULL == m_ti){
+ if(NULL != m_ti){
         if(! singleton<tkmap>::is_destroyed()){
             tkmap & x = singleton<tkmap>::get_mutable_instance();
             tkmap::iterator start = x.lower_bound(this);


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