Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2015, 10:20:29 PM (9 years ago)
Author:
landauf
Message:

always use 'virtual' in the declaration of virtual functions even if they are inherited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/BaseObject.h

    r10768 r10845  
    163163            inline void setScene(const StrongOrWeakPtr<Scene>& scene, uint32_t sceneID) { this->scene_ = scene; this->sceneID_=sceneID; }
    164164            inline Scene* getScene() const { return this->scene_.get(); }
    165             inline virtual uint32_t getSceneID() const { return this->sceneID_; }
     165            virtual inline uint32_t getSceneID() const { return this->sceneID_; }
    166166
    167167            inline void setGametype(const StrongOrWeakPtr<Gametype>& gametype) { this->gametype_ = gametype; }
Note: See TracChangeset for help on using the changeset viewer.