diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 13:03:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 13:11:36 +0000 |
commit | bf96ec5d8af6fe806ee634e556f7a9a105894f0f (patch) | |
tree | 71e6ad177bc6b93b549790fe2d884760a768ac7d /include/comphelper/threadpool.hxx | |
parent | 6b45e4fa5381d119ff0759825454a7154e1363b7 (diff) |
boost->std
Change-Id: I44b208a2c5c5bf73ac025462c9f7bd499ed0a49b
Diffstat (limited to 'include/comphelper/threadpool.hxx')
-rw-r--r-- | include/comphelper/threadpool.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/comphelper/threadpool.hxx b/include/comphelper/threadpool.hxx index b5606e027f05..1aa4733e6012 100644 --- a/include/comphelper/threadpool.hxx +++ b/include/comphelper/threadpool.hxx @@ -15,7 +15,6 @@ #include <osl/mutex.hxx> #include <osl/conditn.hxx> #include <rtl/ref.hxx> -#include <boost/noncopyable.hpp> #include <vector> #include <comphelper/comphelperdllapi.h> @@ -30,7 +29,7 @@ public: }; /// A very basic thread pool implementation -class COMPHELPER_DLLPUBLIC ThreadPool: private boost::noncopyable +class COMPHELPER_DLLPUBLIC ThreadPool { public: /// returns a pointer to a shared pool with optimal thread @@ -47,6 +46,9 @@ public: void waitUntilEmpty(); private: + ThreadPool(const ThreadPool&) SAL_DELETED_FUNCTION; + ThreadPool& operator=(const ThreadPool&) SAL_DELETED_FUNCTION; + class ThreadWorker; friend class ThreadWorker; |