From c7b0e9b05b509d23a662189db421ae2b2e36525a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 2 Oct 2015 18:06:32 +0200 Subject: lib/expat/Parser: delete the copy constructor/operator --- src/lib/expat/ExpatParser.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3