Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 21, 2016, 1:59:04 PM (9 years ago)
Author:
muemart
Message:

Fix some clang-tidy warnings.
Also, Serialise.h was doing some C-style casts that ended up being const casts. I moved those const casts as close to the source as possible and changed the loadAndIncrease functions to not do that.

Location:
code/trunk/src/modules/objects/triggers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/objects/triggers/DistanceTrigger.h

    r11071 r11083  
    9797            virtual ~DistanceTrigger();
    9898
    99             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); // Method for creating a DistanceTrigger object through XML.
     99            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; // Method for creating a DistanceTrigger object through XML.
    100100
    101101            void addTarget(const std::string& targets); // Add some target to the DistanceTrigger.
  • code/trunk/src/modules/objects/triggers/EventTrigger.h

    r11071 r11083  
    7373            virtual ~EventTrigger();
    7474
    75             virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode); // Creates an event port.
     75            virtual void XMLEventPort(Element& xmlelement, XMLPort::Mode mode) override; // Creates an event port.
    7676
    7777            /**
Note: See TracChangeset for help on using the changeset viewer.