diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:28:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:02 +0100 |
commit | fe5644984ac145169eaaa91c8ed4450481edfc1c (patch) | |
tree | 3bc8d4cff16bd84382065e6b7321eae0d7c1caeb /shell/inc/internal/xml_parser.hxx | |
parent | 68adf20e1e89d6e19e8122b600c0fb675eaebdbd (diff) |
loplugin:deletedspecial
Change-Id: I2a3d9deb9c71bb4dfe3ad9076d7202636001e0bb
Diffstat (limited to 'shell/inc/internal/xml_parser.hxx')
-rw-r--r-- | shell/inc/internal/xml_parser.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/inc/internal/xml_parser.hxx b/shell/inc/internal/xml_parser.hxx index 7dc51c79a355..44094e5d9383 100644 --- a/shell/inc/internal/xml_parser.hxx +++ b/shell/inc/internal/xml_parser.hxx @@ -23,6 +23,7 @@ #include <expat.h> #include <stdexcept> +#include <sal/types.h> class xml_parser_exception : public std::runtime_error { @@ -111,10 +112,9 @@ private: i_xml_parser_event_handler* document_handler_; XML_Parser xml_parser_; -// prevent copy and assignment private: - xml_parser(const xml_parser&); - xml_parser& operator=(const xml_parser&); + xml_parser(const xml_parser&) SAL_DELETED_FUNCTION; + xml_parser& operator=(const xml_parser&) SAL_DELETED_FUNCTION; }; #endif |