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/libraries/core/CoreIncludes.h

    r10765 r10817  
    221221        struct InheritsFromClass : public Identifier::InheritsFrom
    222222        {
    223             virtual Identifier* getParent() const { return Class(T); }
     223            virtual Identifier* getParent() const override { return Class(T); }
    224224        };
    225225
     
    231231            ~StaticallyInitializedIdentifier() { delete identifier_; }
    232232
    233             virtual void load()
     233            virtual void load() override
    234234            {
    235235                IdentifierManager::getInstance().addIdentifier(this->identifier_);
    236236            }
    237237
    238             virtual void unload()
     238            virtual void unload() override
    239239            {
    240240                IdentifierManager::getInstance().removeIdentifier(this->identifier_);
Note: See TracChangeset for help on using the changeset viewer.