Clear ConcurrentMap before loading archive data

release/4.3a0
Scott 2022-07-16 15:18:45 -07:00
parent b8426c6658
commit b8fb26a0b0
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ private:
template<class Archive>
void load(Archive& ar, const unsigned int /*version*/)
{
this->clear();
// Load into STL container and then fill our map
FastVector<std::pair<KEY, VALUE> > map;
ar & BOOST_SERIALIZATION_NVP(map);