summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-02 18:06:32 +0200
committerMax Kellermann <max@duempel.org>2015-10-02 18:06:32 +0200
commitc7b0e9b05b509d23a662189db421ae2b2e36525a (patch)
tree43cbbad46f3ee7402f1511854ded1d83fa794b72
parent356c829b767863512da1792c048f6ddbeb8457a3 (diff)
lib/expat/Parser: delete the copy constructor/operator
-rw-r--r--src/lib/expat/ExpatParser.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/expat/ExpatParser.hxx b/src/lib/expat/ExpatParser.hxx
index 1ec7bfa02..5f2626dda 100644
--- a/src/lib/expat/ExpatParser.hxx
+++ b/src/lib/expat/ExpatParser.hxx
@@ -41,6 +41,9 @@ public:
XML_ParserFree(parser);
}
+ ExpatParser(const ExpatParser &) = delete;
+ ExpatParser &operator=(const ExpatParser &) = delete;
+
void SetElementHandler(XML_StartElementHandler start,
XML_EndElementHandler end) {
XML_SetElementHandler(parser, start, end);