Changeset 1021
- Timestamp:
- 05/28/10 22:51:05 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/bdmbase.cpp
r1009 r1021 32 32 str2int_map::const_iterator iter = MAP.find ( name ); 33 33 if ( iter == MAP.end() || name.length() == 0 ) { //add new RV 34 id = MAP.size() + 1;34 id = NAMES.size() + 1; // MAP may be shorter due to empty strings!! 35 35 36 36 MAP.insert ( make_pair ( name, id ) ); //add new rv