Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 19, 2010, 1:23:43 PM (14 years ago)
Author:
landauf
Message:

reduced amount of member variables in Functor by moving these rarely used properties into virtual functions (which also fixes a small bug, because only FunctorStatic provided all required information so far)

File:
1 edited

Legend:

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

    r7187 r7188  
    6868            inline bool hasReturnvalue() const
    6969                { return this->functor_->hasReturnvalue(); }
    70             inline FunctionType::Value getType() const
     70            inline Functor::Type::Enum getType() const
    7171                { return this->functor_->getType(); }
    7272            inline const MultiType& getReturnvalue() const
    7373                { return this->functor_->getReturnvalue(); }
    74             inline const std::string& getTypenameParam(unsigned int param) const
     74            inline std::string getTypenameParam(unsigned int param) const
    7575                { return this->functor_->getTypenameParam(param); }
    76             inline const std::string& getTypenameReturnvalue() const
     76            inline std::string getTypenameReturnvalue() const
    7777                { return this->functor_->getTypenameReturnvalue(); }
    7878
Note: See TracChangeset for help on using the changeset viewer.