diff options
author | Max Kellermann <max@duempel.org> | 2015-10-02 18:06:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-10-02 18:06:32 +0200 |
commit | c7b0e9b05b509d23a662189db421ae2b2e36525a (patch) | |
tree | 43cbbad46f3ee7402f1511854ded1d83fa794b72 /src/lib/expat | |
parent | 356c829b767863512da1792c048f6ddbeb8457a3 (diff) | |
download | mpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.tar.gz mpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.tar.xz mpd-c7b0e9b05b509d23a662189db421ae2b2e36525a.zip |
lib/expat/Parser: delete the copy constructor/operator
Diffstat (limited to 'src/lib/expat')
-rw-r--r-- | src/lib/expat/ExpatParser.hxx | 3 |
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); |