lib/expat/Parser: delete the copy constructor/operator

This commit is contained in:
Max Kellermann 2015-10-02 18:06:32 +02:00
parent 356c829b76
commit c7b0e9b05b

View File

@ -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);