summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-05 16:51:40 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-05 16:51:40 +0000
commita0864d512cd88177235aef779af19eab8e394131 (patch)
tree4bcb8daad91ed70fb5dba94c3d9589747bf556f3
parentAdd missing DLL_PUBLIC on root names (diff)
downloadslicer-a0864d512cd88177235aef779af19eab8e394131.tar.bz2
slicer-a0864d512cd88177235aef779af19eab8e394131.tar.xz
slicer-a0864d512cd88177235aef779af19eab8e394131.zip
Add missing override markers
-rw-r--r--slicer/slicer/modelParts.h4
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;