Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2008, 2:44:46 PM (17 years ago)
Author:
rgrieder
Message:

Removed some always-true statements that gcc issued with the -W option.
There is still a lot of warnings from the Ogre UTFString header about the copy constructor initialisation.
—> We would need to use -W -Wno-unused-parameter -Wno-?. I couldn't find that option directly unfortunately.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Functor.h

    r1786 r1879  
    105105            inline MultiType getReturnvalue() const { return this->returnedValue_; }
    106106
    107             std::string getTypenameParam(unsigned int param) const { return (param >= 0 && param < 5) ? this->typeParam_[param] : ""; }
     107            std::string getTypenameParam(unsigned int param) const { return (param < 5) ? this->typeParam_[param] : ""; }
    108108            std::string getTypenameReturnvalue() const { return this->typeReturnvalue_; }
    109109
Note: See TracChangeset for help on using the changeset viewer.