summaryrefslogtreecommitdiff
path: root/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx')
-rw-r--r--unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
index 964ce1396c7a..c34de5fd0a03 100644
--- a/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
+++ b/unotest/source/cpp/unobootstrapprotector/unobootstrapprotector.cxx
@@ -21,7 +21,6 @@
#include <string>
#include <iostream>
-#include "boost/noncopyable.hpp"
#include "com/sun/star/uno/Exception.hpp"
#include <cppuhelper/bootstrap.hxx>
@@ -56,13 +55,16 @@ using namespace com::sun::star;
//the first dispose. So lets setup the default context once before
//all tests are run, and tear it down once after all have finished
-class Prot : public CppUnit::Protector, private boost::noncopyable
+class Prot : public CppUnit::Protector
{
public:
Prot();
virtual ~Prot();
+ Prot(const Prot&) = delete;
+ Prot& operator=(const Prot&) = delete;
+
virtual bool protect(
CppUnit::Functor const & functor,
CppUnit::ProtectorContext const & context) override;