mirror of
https://github.com/nasa/trick.git
synced 2025-06-17 06:38:27 +00:00
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:
@ -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 ) {
|
||||
|
Reference in New Issue
Block a user