diff options
Diffstat (limited to 'boost/archive/impl/archive_serializer_map.ipp')
-rw-r--r-- | boost/archive/impl/archive_serializer_map.ipp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/archive/impl/archive_serializer_map.ipp b/boost/archive/impl/archive_serializer_map.ipp index 8dabf0d08f..7f163ec407 100644 --- a/boost/archive/impl/archive_serializer_map.ipp +++ b/boost/archive/impl/archive_serializer_map.ipp @@ -47,6 +47,10 @@ archive_serializer_map<Archive>::insert(const basic_serializer * bs){ template<class Archive> BOOST_ARCHIVE_OR_WARCHIVE_DECL void archive_serializer_map<Archive>::erase(const basic_serializer * bs){ + BOOST_ASSERT(! boost::serialization::singleton< + extra_detail::map<Archive> + >::is_destroyed() + ); if(boost::serialization::singleton< extra_detail::map<Archive> >::is_destroyed()) |