diff options
Diffstat (limited to 'Swiften/Parser')
-rw-r--r-- | Swiften/Parser/LibXMLParser.h | 4 | ||||
-rw-r--r-- | Swiften/Parser/XMPPParser.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Swiften/Parser/LibXMLParser.h b/Swiften/Parser/LibXMLParser.h index a03ff71..c247548 100644 --- a/Swiften/Parser/LibXMLParser.h +++ b/Swiften/Parser/LibXMLParser.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -19,7 +19,7 @@ namespace Swift { class LibXMLParser : public XMLParser, public boost::noncopyable { public: LibXMLParser(XMLParserClient* client); - ~LibXMLParser(); + virtual ~LibXMLParser(); bool parse(const std::string& data); diff --git a/Swiften/Parser/XMPPParser.h b/Swiften/Parser/XMPPParser.h index e8e0917..dcc98ca 100644 --- a/Swiften/Parser/XMPPParser.h +++ b/Swiften/Parser/XMPPParser.h @@ -1,17 +1,17 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once -#include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> +#include <boost/shared_ptr.hpp> #include <Swiften/Base/API.h> -#include <Swiften/Parser/XMLParserClient.h> #include <Swiften/Parser/AttributeMap.h> +#include <Swiften/Parser/XMLParserClient.h> namespace Swift { class XMLParser; @@ -26,7 +26,7 @@ namespace Swift { XMPPParserClient* parserClient, PayloadParserFactoryCollection* payloadParserFactories, XMLParserFactory* xmlParserFactory); - ~XMPPParser(); + virtual ~XMPPParser(); bool parse(const std::string&); |