Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 2:26:53 AM (14 years ago)
Author:
landauf
Message:

ConsoleCommand::getCommand should return a const pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/command/CommandEvaluation.h

    r7238 r7282  
    6161                { return (this->execCommand_ != 0); }
    6262
    63             inline ConsoleCommand* getConsoleCommand() const
     63            inline const ConsoleCommand* getConsoleCommand() const
    6464                { return this->execCommand_; }
    6565
     
    9090            static std::string getCommonBegin(const ArgumentCompletionList& list);
    9191
    92             ConsoleCommand* execCommand_;
    93             ConsoleCommand* hintCommand_;
     92            const ConsoleCommand* execCommand_;
     93            const ConsoleCommand* hintCommand_;
    9494            SubString tokens_;
    9595            std::string string_;
Note: See TracChangeset for help on using the changeset viewer.