aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/expat/ExpatParser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/expat/ExpatParser.hxx')
-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);