diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-05 16:51:40 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-05 16:51:40 +0000 |
commit | a0864d512cd88177235aef779af19eab8e394131 (patch) | |
tree | 4bcb8daad91ed70fb5dba94c3d9589747bf556f3 | |
parent | Add missing DLL_PUBLIC on root names (diff) | |
download | slicer-a0864d512cd88177235aef779af19eab8e394131.tar.bz2 slicer-a0864d512cd88177235aef779af19eab8e394131.tar.xz slicer-a0864d512cd88177235aef779af19eab8e394131.zip |
Add missing override markers
-rw-r--r-- | slicer/slicer/modelParts.h | 4 |
1 files 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; |