Changeset 7397 in orxonox.OLD for trunk/src/lib/shell/shell_command.cc
- Timestamp:
- Apr 27, 2006, 4:08:46 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r7394 r7397 162 162 { 163 163 // CHECK FOR ALIAS 164 std::vector<ShellCommandAlias*>:: iterator alias;165 for (alias = ShellCommandAlias:: aliasList.begin(); alias != ShellCommandAlias::aliasList.end(); alias++ )164 std::vector<ShellCommandAlias*>::const_iterator alias; 165 for (alias = ShellCommandAlias::getAliases().begin(); alias != ShellCommandAlias::getAliases().end(); alias++ ) 166 166 { 167 167 if (inputSplits.getString(0) == (*alias)->getName() && (*alias)->getCommand() != NULL && … … 271 271 { 272 272 ShellCommandAlias* aliasCMD = new ShellCommandAlias(alias, this); 273 ShellCommandAlias::aliasList.push_back(aliasCMD);274 273 this->alias = aliasCMD; 275 274 } … … 333 332 334 333 334 /** 335 * @param aliasName the name of the Alias 336 * @param command the Command, to associate this alias with 337 */ 335 338 ShellCommandAlias::ShellCommandAlias(const std::string& aliasName, ShellCommand* command) 336 339 {
Note: See TracChangeset
for help on using the changeset viewer.