diff --git a/trick_source/data_products/Log/multiLog.cpp b/trick_source/data_products/Log/multiLog.cpp index dc2338e4..f352a973 100644 --- a/trick_source/data_products/Log/multiLog.cpp +++ b/trick_source/data_products/Log/multiLog.cpp @@ -124,6 +124,8 @@ IterOverLogGroups::IterOverLogGroups( LogMultiGroup* lmg, LogGroup* key ; vector < int > val ; map < LogGroup*, set< int > >::const_iterator ll; + listLogGroupIterators_.reserve(listLogGroupIterators_.size() + + lg2log.size()); for (ll = lg2log.begin(); ll != lg2log.end(); ll++) { key = (*ll).first ; diff --git a/trick_source/sim_services/DataTypes/src/MemMgr.cpp b/trick_source/sim_services/DataTypes/src/MemMgr.cpp index 63fe9e81..a2428dd8 100644 --- a/trick_source/sim_services/DataTypes/src/MemMgr.cpp +++ b/trick_source/sim_services/DataTypes/src/MemMgr.cpp @@ -11,16 +11,16 @@ MemMgr::MemMgr() { debugLevel = 0; - reducedCheckpoint = true; + reducedCheckpoint = true; hexfloatCheckpoint = false; compactArraysCheckpoint = true; - + defaultCheckPointAgent = new ClassicChkPtAgent( std::cout ); defaultCheckPointAgent->setDebugLevel( debugLevel); defaultCheckPointAgent->setReducedCheckpoint( reducedCheckpoint); defaultCheckPointAgent->setHexfloatCheckpoint( hexfloatCheckpoint); defaultCheckPointAgent->setMakeCompactArrays( compactArraysCheckpoint ); - + currentCheckPointAgent = defaultCheckPointAgent; typeDictionary = new TypeDictionary();