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