mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 08:50:06 +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:
@ -46,7 +46,7 @@ static PyThreadState *_save = NULL;
|
||||
void Trick::IPPython::get_TMM_named_variables() {
|
||||
//std::cout << "top level names at initialization" << std::endl ;
|
||||
Trick::ALLOC_INFO_MAP_ITER aim_it ;
|
||||
for ( aim_it = trick_MM->alloc_info_map_begin() ; aim_it != trick_MM->alloc_info_map_end() ; aim_it++ ) {
|
||||
for ( aim_it = trick_MM->alloc_info_map_begin() ; aim_it != trick_MM->alloc_info_map_end() ; ++aim_it ) {
|
||||
ALLOC_INFO * alloc_info = (*aim_it).second ;
|
||||
if ( alloc_info->name != NULL and alloc_info->user_type_name != NULL ) {
|
||||
std::stringstream ss ;
|
||||
|
Reference in New Issue
Block a user