aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/expat/ExpatParser.hxx
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 /src/lib/expat/ExpatParser.hxx
parent356c829b767863512da1792c048f6ddbeb8457a3 (diff)
downloadmpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.tar.gz
mpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.tar.xz
mpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.zip
lib/expat/Parser: delete the copy constructor/operator
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);