Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61031 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2010-04-03 20:24:39


Author: ramey
Date: 2010-04-03 20:24:38 EDT (Sat, 03 Apr 2010)
New Revision: 61031
URL: http://svn.boost.org/trac/boost/changeset/61031

Log:
Final changes for 1.43
Text files modified:
   trunk/libs/serialization/src/basic_serializer_map.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/serialization/src/basic_serializer_map.cpp
==============================================================================
--- trunk/libs/serialization/src/basic_serializer_map.cpp (original)
+++ trunk/libs/serialization/src/basic_serializer_map.cpp 2010-04-03 20:24:38 EDT (Sat, 03 Apr 2010)
@@ -94,7 +94,10 @@
     const basic_serializer_arg bs(eti);
     map_type::const_iterator it;
     it = m_map.find(& bs);
- assert(it != m_map.end());
+ if(it == m_map.end()){
+ assert(false);
+ return 0;
+ }
     return *it;
 }
 


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