Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8594


Ignore:
Timestamp:
May 26, 2011, 1:57:01 PM (14 years ago)
Author:
landauf
Message:

fixed a few warnings that were only visible with EXTRA_COMPILER_WARNINGS enabled)

Location:
code/branches/presentation/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/libraries/core/Identifier.h

    r8351 r8594  
    119119
    120120            /// Returns the network ID to identify a class through the network.
    121             inline const uint32_t getNetworkID() const { return this->networkID_; }
     121            inline uint32_t getNetworkID() const { return this->networkID_; }
    122122            void setNetworkID(uint32_t id);
    123123
  • code/branches/presentation/src/libraries/util/Exception.h

    r7401 r8594  
    110110        virtual const std::string& getDescription()     const { return this->description_; }
    111111        //! Returns the line number on which the exception occurred.
    112         virtual const unsigned int getLineNumber()      const { return this->lineNumber_; }
     112        virtual unsigned int getLineNumber()            const { return this->lineNumber_; }
    113113        //! Returns the function in which the exception occurred.
    114114        virtual const std::string& getFunctionName()    const { return this->functionName_; }
  • code/branches/presentation/src/modules/overlays/hud/HUDNavigation.cc

    r7801 r8594  
    342342    text->hide();
    343343
    344     ObjectInfo tempStruct = {panel, text, false};
     344    ObjectInfo tempStruct = {panel, text, false /*, TODO: initialize wasOutOfView_ */};
    345345    activeObjectList_[object] = tempStruct;
    346346
  • code/branches/presentation/src/modules/pickup/PickupManager.h

    r7547 r8594  
    148148            @return Returns true if the input Pickupable is still valid, false if not.
    149149            */
    150             const bool isValidPickup(uint32_t pickup) const
     150            bool isValidPickup(uint32_t pickup) const
    151151                { return this->pickups_.find(pickup) != this->pickups_.end(); }
    152152            // tolua_end
  • code/branches/presentation/src/orxonox/worldentities/pawns/SpaceShip.h

    r8589 r8594  
    8181            inline void oneEngineTickDone()
    8282                { this->engineTicksNotDone--; }
    83             inline const bool hasEngineTicksRemaining()
     83            inline bool hasEngineTicksRemaining()
    8484                { return (this->engineTicksNotDone>0); }
    8585
Note: See TracChangeset for help on using the changeset viewer.