diff options
Diffstat (limited to 'src/verify.cc')
| -rw-r--r-- | src/verify.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/verify.cc b/src/verify.cc index fe071b48..6f6a48f1 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -67,7 +67,6 @@ #include <xercesc/dom/DOMErrorHandler.hpp> #include <xercesc/framework/LocalFileInputSource.hpp> #include <xercesc/framework/MemBufInputSource.hpp> -#include <boost/noncopyable.hpp> #include <boost/algorithm/string.hpp> #include <map> #include <vector> @@ -184,7 +183,7 @@ private: list<XMLValidationError> _errors; }; -class StringToXMLCh : public boost::noncopyable +class StringToXMLCh { public: StringToXMLCh (string a) @@ -192,6 +191,9 @@ public: _buffer = XMLString::transcode(a.c_str()); } + StringToXMLCh (StringToXMLCh const&) = delete; + StringToXMLCh& operator= (StringToXMLCh const&) = delete; + ~StringToXMLCh () { XMLString::release (&_buffer); |
