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/modules/mini4dgame/Mini4Dgame.h

    r10230 r10817  
    6565            virtual ~Mini4Dgame(); //!< Destructor. Cleans up, if initialized.
    6666
    67             virtual void start(void); //!< Starts the Mini4Dgame minigame.
    68             virtual void end(void); ///!< Ends the Mini4Dgame minigame.
     67            virtual void start(void) override; //!< Starts the Mini4Dgame minigame.
     68            virtual void end(void) override; ///!< Ends the Mini4Dgame minigame.
    6969
    70             virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player.
     70            virtual void spawnPlayer(PlayerInfo* player) override; //!< Spawns the input player.
    7171
    7272            void setGameboard(Mini4DgameBoard* board)
     
    8484
    8585        protected:
    86             virtual void spawnPlayersIfRequested(); //!< Spawns player.
     86            virtual void spawnPlayersIfRequested() override; //!< Spawns player.
    8787
    8888
Note: See TracChangeset for help on using the changeset viewer.