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/towerdefense/TowerDefenseSelecter.h

    r10629 r10817  
    4141            TowerDefenseSelecter(Context* context); //!< Constructor. Registers and initializes the object.
    4242            virtual ~TowerDefenseSelecter();
    43             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);         
    44             virtual void tick(float dt);           
    45             virtual void moveFrontBack(const Vector2& value); //!< Overloaded the function to steer the bat up and down.
    46             virtual void moveRightLeft(const Vector2& value); //!< Overloaded the function to steer the bat up and down.
    47             virtual void rotateYaw(const Vector2& value);
    48             virtual void rotatePitch(const Vector2& value);
    49             virtual void rotateRoll(const Vector2& value);
     43            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;         
     44            virtual void tick(float dt) override;           
     45            virtual void moveFrontBack(const Vector2& value) override; //!< Overloaded the function to steer the bat up and down.
     46            virtual void moveRightLeft(const Vector2& value) override; //!< Overloaded the function to steer the bat up and down.
     47            virtual void rotateYaw(const Vector2& value) override;
     48            virtual void rotatePitch(const Vector2& value) override;
     49            virtual void rotateRoll(const Vector2& value) override;
    5050            void fire(unsigned int firemode);
    51             virtual void fired(unsigned int firemode);
    52             virtual void boost(bool bBoost);
     51            virtual void fired(unsigned int firemode) override;
     52            virtual void boost(bool bBoost) override;
    5353            virtual void setSelectedPosition(TDCoordinate* newPos);
    5454            virtual void setSelectedPosition(int x, int y);
Note: See TracChangeset for help on using the changeset viewer.