Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 23, 2015, 10:20:29 PM (9 years ago)
Author:
landauf
Message:

always use 'virtual' in the declaration of virtual functions even if they are inherited

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/input/InputCommands.h

    r10817 r10845  
    7676    {
    7777    public:
    78         bool execute(float abs = 1.0f, float rel = 1.0f) override;
    79         CommandEvaluation* getEvaluation() override;
     78        virtual bool execute(float abs = 1.0f, float rel = 1.0f) override;
     79        virtual CommandEvaluation* getEvaluation() override;
    8080        virtual SimpleCommand* clone() override { return new SimpleCommand(*this); }
    8181
     
    104104    public:
    105105        ParamCommand() : scale_(1.0f), paramCommand_(nullptr) { }
    106         bool execute(float abs = 1.0f, float rel = 1.0f) override;
    107         CommandEvaluation* getEvaluation() override;
     106        virtual bool execute(float abs = 1.0f, float rel = 1.0f) override;
     107        virtual CommandEvaluation* getEvaluation() override;
    108108        virtual ParamCommand* clone() override { return new ParamCommand(*this); }
    109109
Note: See TracChangeset for help on using the changeset viewer.