Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2015, 11:40:28 AM (8 years ago)
Author:
muemart
Message:

Run clang-modernize -add-override
A few notes:

  • There are probably some overrides missing, especially in funky templatey code
  • Virtual methods with wrong signatures were not fixed, needs to be done by hand (only warnings get emitted)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/gametypes/Gametype.h

    r10768 r10817  
    7676            void setConfigValues();
    7777
    78             virtual void tick(float dt);
     78            virtual void tick(float dt) override;
    7979
    8080            inline const GametypeInfo* getGametypeInfo() const
     
    175175            virtual void spawnDeadPlayersIfRequested();
    176176
    177             virtual GSLevelMementoState* exportMementoState();
    178             virtual void importMementoState(const std::vector<GSLevelMementoState*>& states);
     177            virtual GSLevelMementoState* exportMementoState() override;
     178            virtual void importMementoState(const std::vector<GSLevelMementoState*>& states) override;
    179179
    180180            WeakPtr<GametypeInfo> gtinfo_;
Note: See TracChangeset for help on using the changeset viewer.