Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 11, 2015, 10:36:15 PM (9 years ago)
Author:
landauf
Message:

moved code from static initializer into new function in ConsoleCommandManager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/command/ConsoleCommandIncludes.cc

    r10352 r10354  
    3535    void StaticallyInitializedConsoleCommand::load()
    3636    {
    37         for (size_t i = 0; i < this->command_->getNames().size(); ++i)
    38         {
    39             const ConsoleCommand::CommandName& name = this->command_->getNames()[i];
    40             ConsoleCommandManager::registerCommand(name.group_, name.name_, this->command_);
    41         }
     37        ConsoleCommandManager::registerCommand(this->command_);
    4238    }
    4339}
Note: See TracChangeset for help on using the changeset viewer.