|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53078 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2009-05-18 02:25:57
Author: ramey
Date: 2009-05-18 02:25:56 EDT (Mon, 18 May 2009)
New Revision: 53078
URL: http://svn.boost.org/trac/boost/changeset/53078
Log:
fix errors in extended_type_info management
Text files modified:
trunk/libs/serialization/src/extended_type_info.cpp | 2 +-
trunk/libs/serialization/src/void_cast.cpp | 1 +
2 files changed, 2 insertions(+), 1 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-05-18 02:25:56 EDT (Mon, 18 May 2009)
@@ -95,11 +95,11 @@
for(;start != end; ++start){
if(this == *start){
x.erase(start);
+ m_key = NULL;
break;
}
}
}
- m_key = NULL;
}
BOOST_SERIALIZATION_DECL(const extended_type_info *)
Modified: trunk/libs/serialization/src/void_cast.cpp
==============================================================================
--- trunk/libs/serialization/src/void_cast.cpp (original)
+++ trunk/libs/serialization/src/void_cast.cpp 2009-05-18 02:25:56 EDT (Mon, 18 May 2009)
@@ -204,6 +204,7 @@
if((*it)->is_shortcut()){
if(m_derived == (*it)->m_base
|| (*it)->m_derived == m_base){
+ s.erase(it);
delete *it;
it = s.begin();
}
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