- Timestamp:
- Jun 28, 2010, 12:19:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/RpUnits.cc
r1740 r1782 1025 1025 const RpUnits* prefix = NULL; 1026 1026 1027 1028 1027 while ( !myInUnits.empty() ) { 1029 1028 … … 1044 1043 // type = myInUnits[last] + type; 1045 1044 // ignore * because we assume everything is multiplied together 1045 myInUnits.erase(last); 1046 continue; 1047 } 1048 1049 // ignore whitespace characters 1050 if (isspace(myInUnits[last])) { 1051 // ignore whitespace characters, they represent multiplication 1046 1052 myInUnits.erase(last); 1047 1053 continue; … … 3288 3294 retVal = 1; 3289 3295 } 3290 else {3291 }3292 3296 3293 3297 outUnits = std::string(endptr);
Note: See TracChangeset
for help on using the changeset viewer.