summaryrefslogtreecommitdiffstats
path: root/src/xml/element-node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/element-node.h')
-rw-r--r--src/xml/element-node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/element-node.h b/src/xml/element-node.h
index 12df8dc97..99598241a 100644
--- a/src/xml/element-node.h
+++ b/src/xml/element-node.h
@@ -31,10 +31,10 @@ public:
ElementNode(ElementNode const &other, Document *doc)
: SimpleNode(other, doc) {}
- Inkscape::XML::NodeType type() const { return Inkscape::XML::ELEMENT_NODE; }
+ Inkscape::XML::NodeType type() const override { return Inkscape::XML::ELEMENT_NODE; }
protected:
- SimpleNode *_duplicate(Document* doc) const { return new ElementNode(*this, doc); }
+ SimpleNode *_duplicate(Document* doc) const override { return new ElementNode(*this, doc); }
};
}