Changeset 5784 for code/branches/core5/src/libraries
- Timestamp:
- Sep 24, 2009, 9:27:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/Identifier.cc
r5783 r5784 113 113 // There is already an entry: return it and delete the proposal 114 114 delete proposal; 115 return (*it).second;115 return it->second; 116 116 } 117 117 else … … 428 428 std::map<std::string, ConfigValueContainer*>::const_iterator it = configValues_.find(varname); 429 429 if (it != configValues_.end()) 430 return ((*it).second);430 return it->second; 431 431 else 432 432 return 0; … … 442 442 std::map<std::string, ConfigValueContainer*>::const_iterator it = configValues_LC_.find(varname); 443 443 if (it != configValues_LC_.end()) 444 return ((*it).second);444 return it->second; 445 445 else 446 446 return 0; … … 481 481 std::map<std::string, ConsoleCommand*>::const_iterator it = this->consoleCommands_.find(name); 482 482 if (it != this->consoleCommands_.end()) 483 return (*it).second;483 return it->second; 484 484 else 485 485 return 0; … … 495 495 std::map<std::string, ConsoleCommand*>::const_iterator it = this->consoleCommands_LC_.find(name); 496 496 if (it != this->consoleCommands_LC_.end()) 497 return (*it).second;497 return it->second; 498 498 else 499 499 return 0; … … 509 509 std::map<std::string, XMLPortParamContainer*>::const_iterator it = this->xmlportParamContainers_.find(paramname); 510 510 if (it != this->xmlportParamContainers_.end()) 511 return ((*it).second);511 return it->second; 512 512 else 513 513 return 0; … … 540 540 std::map<std::string, XMLPortObjectContainer*>::const_iterator it = this->xmlportObjectContainers_.find(sectionname); 541 541 if (it != this->xmlportObjectContainers_.end()) 542 return ((*it).second);542 return it->second; 543 543 else 544 544 return 0; … … 571 571 std::map<std::string, XMLPortObjectContainer*>::const_iterator it = this->xmlportEventContainers_.find(eventname); 572 572 if (it != this->xmlportEventContainers_.end()) 573 return ((*it).second);573 return it->second; 574 574 else 575 575 return 0; … … 602 602 { 603 603 for (std::set<const Identifier*>::const_iterator it = list.begin(); it != list.end(); ++it) 604 out << (*it)->getName() << " "; 604 { 605 if (it != list.begin()) 606 out << " "; 607 out << (*it)->getName(); 608 } 605 609 606 610 return out;
Note: See TracChangeset
for help on using the changeset viewer.