From 7755f8e09427adad13d74b77dd457a29b24c9cba Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 20 Nov 2016 12:30:44 +0000 Subject: [PATCH] Override changes for atomic listener. --- simgear/props/AtomicChangeListener.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/simgear/props/AtomicChangeListener.hxx b/simgear/props/AtomicChangeListener.hxx index a287738c..43208ad5 100644 --- a/simgear/props/AtomicChangeListener.hxx +++ b/simgear/props/AtomicChangeListener.hxx @@ -26,7 +26,7 @@ public: (*itr)->addChangeListener(this); } private: - void valueChanged(SGPropertyNode* node); + void valueChanged(SGPropertyNode* node) override; virtual void valueChangedImplementation(); }; @@ -53,10 +53,10 @@ public: } bool isDirty() { return _dirty; } bool isValid() { return _valid; } - void unregister_property(SGPropertyNode* node); + virtual void unregister_property(SGPropertyNode* node) override; static void fireChangeListeners(); private: - virtual void valueChangedImplementation(); + virtual void valueChangedImplementation() override; virtual void valuesChanged(); bool _dirty; bool _valid; @@ -90,7 +90,7 @@ public: if (initial) valuesChanged(); } - virtual void valuesChanged() + virtual void valuesChanged() override { ExtendedPropertyAdapter > adaptor(_watched); T val = adaptor();