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/sound/WorldSound.h

    r9667 r10817  
    4747        WorldSound(Context* context);
    4848
    49         void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    50         void XMLEventPort(Element& xmlelement, XMLPort::Mode mode);
    51         void changedActivity();
     49        void XMLPort(Element& xmlelement, XMLPort::Mode mode) override;
     50        void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) override;
     51        void changedActivity() override;
    5252
    53         void tick(float dt);
     53        void tick(float dt) override;
    5454
    5555    protected:
     
    5858    private:
    5959        void registerVariables();
    60         void initialiseSource();
    61         float getRealVolume();
     60        void initialiseSource() override;
     61        float getRealVolume() override;
    6262    };
    6363}
Note: See TracChangeset for help on using the changeset viewer.