Changeset 7283 for code/branches/consolecommands3/src/libraries/core
- Timestamp:
- Aug 31, 2010, 3:03:06 AM (14 years ago)
- Location:
- code/branches/consolecommands3/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/ConfigFileManager.cc
r7236 r7283 277 277 if (commentposition == std::string::npos) 278 278 { 279 value = removeTrailingWhitespaces(line.substr(pos1 + 1));279 value = line.substr(pos1 + 1); 280 280 } 281 281 else 282 282 { 283 value = removeTrailingWhitespaces(line.substr(pos1 + 1, commentposition - pos1 - 1));283 value = line.substr(pos1 + 1, commentposition - pos1 - 1); 284 284 comment = removeTrailingWhitespaces(line.substr(commentposition)); 285 285 } 286 287 value = removeTrailingWhitespaces(value); 288 value = removeSlashes(value); 286 289 287 290 if (pos2 != std::string::npos && pos3 != std::string::npos && pos3 > pos2 + 1) -
code/branches/consolecommands3/src/libraries/core/command/Executor.cc
r7276 r7283 48 48 Executor::Executor(const Executor& other) : name_(other.name_) 49 49 { 50 for ( int i = 0; i < MAX_FUNCTOR_ARGUMENTS; ++i)50 for (size_t i = 0; i < MAX_FUNCTOR_ARGUMENTS; ++i) 51 51 defaultValue_[i] = other.defaultValue_[i]; 52 52 this->functor_ = other.functor_->clone();
Note: See TracChangeset
for help on using the changeset viewer.