diff options
Diffstat (limited to 'cppu/qa/test_any.cxx')
-rw-r--r-- | cppu/qa/test_any.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index e022f8286266..48dfd753d40b 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -43,6 +43,7 @@ #include "Struct2.hpp" #include "Struct2a.hpp" #include "Struct2b.hpp" +#include "boost/noncopyable.hpp" #include "boost/type_traits/is_same.hpp" #include "com/sun/star/uno/Any.hxx" #include "com/sun/star/uno/Reference.hxx" @@ -59,7 +60,7 @@ namespace { -class Base { +class Base: private boost::noncopyable { public: Base(): m_count(0) {} @@ -79,9 +80,6 @@ protected: virtual ~Base() {} private: - Base(Base &); // not declared - void operator =(Base &); // not declared - oslInterlockedCount m_count; }; |