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

    r10768 r10817  
    8282            ObjectListElement(T* object) : ObjectListBaseElement(static_cast<Listable*>(object)), object_(object) {}
    8383
    84             virtual void changeContext(Context* oldContext, Context* newContext)
     84            virtual void changeContext(Context* oldContext, Context* newContext) override
    8585            {
    8686                // add object to new context, but only if this element belongs exactly to the old context (and not to a sub-context to avoid re-adding objects
Note: See TracChangeset for help on using the changeset viewer.