summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/task_runner_test_fixture.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-03-06 20:17:44 -0500
committerBenety Goh <benety@mongodb.com>2018-03-06 20:17:44 -0500
commit01a89a37332c7c5bd9892f6fbd4082c9f9e9462d (patch)
treed7285545300c88e822502cbc091f087e52da5128 /src/mongo/db/repl/task_runner_test_fixture.h
parentd368f071651856039f2637202c122b1a55a44142 (diff)
downloadmongo-01a89a37332c7c5bd9892f6fbd4082c9f9e9462d.tar.gz
SERVER-33625 replace use of OldThreadPool in cloners and TaskRunner with ThreadPool
Diffstat (limited to 'src/mongo/db/repl/task_runner_test_fixture.h')
-rw-r--r--src/mongo/db/repl/task_runner_test_fixture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/task_runner_test_fixture.h b/src/mongo/db/repl/task_runner_test_fixture.h
index 84351c01926..2787419a1e5 100644
--- a/src/mongo/db/repl/task_runner_test_fixture.h
+++ b/src/mongo/db/repl/task_runner_test_fixture.h
@@ -33,11 +33,11 @@
#include "mongo/base/status.h"
#include "mongo/db/service_context.h"
#include "mongo/unittest/unittest.h"
+#include "mongo/util/concurrency/thread_pool.h"
namespace mongo {
class Client;
-class OldThreadPool;
class OperationContext;
namespace repl {
@@ -52,7 +52,7 @@ class TaskRunnerTest : public unittest::Test {
public:
static Status getDetectableErrorStatus();
- OldThreadPool& getThreadPool() const;
+ ThreadPool& getThreadPool() const;
TaskRunner& getTaskRunner() const;
void destroyTaskRunner();
@@ -62,7 +62,7 @@ protected:
void tearDown() override;
private:
- std::unique_ptr<OldThreadPool> _threadPool;
+ std::unique_ptr<ThreadPool> _threadPool;
std::unique_ptr<TaskRunner> _taskRunner;
};