From a0864d512cd88177235aef779af19eab8e394131 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 5 Dec 2015 16:51:40 +0000 Subject: Add missing override markers --- slicer/slicer/modelParts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slicer/slicer/modelParts.h b/slicer/slicer/modelParts.h index 9cb2c96..f914678 100644 --- a/slicer/slicer/modelParts.h +++ b/slicer/slicer/modelParts.h @@ -209,13 +209,13 @@ namespace Slicer { Member(*h) { } - virtual void OnEachChild(const ChildHandler &) { } + virtual void OnEachChild(const ChildHandler &) override { } virtual ChildRefPtr GetAnonChildRef(const HookFilter &) override { return NULL; } virtual ChildRefPtr GetChildRef(const std::string &, const HookFilter &) override { return NULL; } virtual void SetValue(ValueSourcePtr s) override { s->set(Member); } virtual void GetValue(ValueTargetPtr s) override { s->get(Member); } virtual bool HasValue() const override { return true; } - virtual ModelPartType GetType() const { return mpt_Simple; } + virtual ModelPartType GetType() const override { return mpt_Simple; } private: T & Member; -- cgit v1.2.3