Pre-increment (rather than post-increment) STL iterators in for loops… (#1692)

* Pre-increment (rather than post-increment) STL iterators in for loops. #1594

* Fix a goof. #1594
This commit is contained in:
jmpenn
2024-04-18 11:41:35 -05:00
committed by GitHub
parent e515144252
commit 5065d96a15
51 changed files with 118 additions and 118 deletions

View File

@ -80,7 +80,7 @@ Trick::MemoryManager::~MemoryManager() {
delete defaultCheckPointAgent ;
for ( ait = alloc_info_map.begin() ; ait != alloc_info_map.end() ; ait++ ) {
for ( ait = alloc_info_map.begin() ; ait != alloc_info_map.end() ; ++ait ) {
ALLOC_INFO * ai_ptr = (*ait).second ;
if (ai_ptr->stcl == TRICK_LOCAL) {
if ( ai_ptr->alloc_type == TRICK_ALLOC_MALLOC ) {