summaryrefslogtreecommitdiffstats
path: root/src/xml/text-node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/text-node.h')
-rw-r--r--src/xml/text-node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/text-node.h b/src/xml/text-node.h
index 4d71203a5..ca7880acb 100644
--- a/src/xml/text-node.h
+++ b/src/xml/text-node.h
@@ -43,11 +43,11 @@ struct TextNode : public SimpleNode {
_is_CData = other._is_CData;
}
- Inkscape::XML::NodeType type() const { return Inkscape::XML::TEXT_NODE; }
+ Inkscape::XML::NodeType type() const override { return Inkscape::XML::TEXT_NODE; }
bool is_CData() const { return _is_CData; }
protected:
- SimpleNode *_duplicate(Document* doc) const { return new TextNode(*this, doc); }
+ SimpleNode *_duplicate(Document* doc) const override { return new TextNode(*this, doc); }
bool _is_CData;
};