Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / serialization / src / basic_serializer_map.cpp
index 80e805f..7df0b3d 100644 (file)
@@ -43,11 +43,12 @@ basic_serializer_map::type_info_pointer_compare::operator()(
 BOOST_ARCHIVE_DECL(bool) 
 basic_serializer_map::insert(const basic_serializer * bs){
     // attempt to insert serializer into it's map
-    const std::pair<map_type::iterator, bool> result =
-        m_map.insert(bs);
     // the following is commented out - rather than being just
     // deleted as a reminder not to try this.
 
+    // const std::pair<map_type::iterator, bool> result =
+        m_map.insert(bs);
+
     // At first it seemed like a good idea.  It enforced the
     // idea that a type be exported from at most one code module
     // (DLL or mainline).  This would enforce a "one definition rule"