Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2015, 11:40:28 AM (9 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/modules/dodgerace/DodgeRace.h

    r10624 r10817  
    6969            DodgeRace(Context* context);
    7070
    71             virtual void start();
    72             virtual void end();
     71            virtual void start() override;
     72            virtual void end() override;
    7373
    74             virtual void tick(float dt);
     74            virtual void tick(float dt) override;
    7575
    76             virtual void playerPreSpawn(PlayerInfo* player);
     76            virtual void playerPreSpawn(PlayerInfo* player) override;
    7777
    7878            void levelUp();
     
    8585            void setCenterpoint(DodgeRaceCenterPoint* center)
    8686                       { this->center_ = center; }
    87             virtual void addBots(unsigned int amount){} //<! overwrite function in order to bypass the addbots command
     87            virtual void addBots(unsigned int amount) override{} //<! overwrite function in order to bypass the addbots command
    8888
    8989            // checks if multiplier should be reset.
Note: See TracChangeset for help on using the changeset viewer.