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/orxonox/Scene.h

    r10768 r10817  
    5151            virtual ~Scene();
    5252
    53             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     53            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
    5454            void registerVariables();
    5555
     
    7979                { return this->radar_; }
    8080
    81             inline virtual uint32_t getSceneID() const { return this->getObjectID(); }
     81            inline virtual uint32_t getSceneID() const override { return this->getObjectID(); }
    8282
    83             virtual void tick(float dt);
     83            virtual void tick(float dt) override;
    8484
    8585        private:
Note: See TracChangeset for help on using the changeset viewer.