summaryrefslogtreecommitdiff
path: root/src/mongo/util/concurrency/thread_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/concurrency/thread_pool.h')
-rw-r--r--src/mongo/util/concurrency/thread_pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/concurrency/thread_pool.h b/src/mongo/util/concurrency/thread_pool.h
index b95956c4832..370de65056e 100644
--- a/src/mongo/util/concurrency/thread_pool.h
+++ b/src/mongo/util/concurrency/thread_pool.h
@@ -33,7 +33,6 @@
#include <string>
#include <vector>
-#include "mongo/base/disallow_copying.h"
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
@@ -51,7 +50,8 @@ class Status;
* See the Options struct for information about how to configure an instance.
*/
class ThreadPool final : public ThreadPoolInterface {
- MONGO_DISALLOW_COPYING(ThreadPool);
+ ThreadPool(const ThreadPool&) = delete;
+ ThreadPool& operator=(const ThreadPool&) = delete;
public:
/**