summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/task_runner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/task_runner.h')
-rw-r--r--src/mongo/db/repl/task_runner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/task_runner.h b/src/mongo/db/repl/task_runner.h
index b7dcf4c05d6..310f432379d 100644
--- a/src/mongo/db/repl/task_runner.h
+++ b/src/mongo/db/repl/task_runner.h
@@ -35,11 +35,11 @@
#include "mongo/stdx/condition_variable.h"
#include "mongo/stdx/functional.h"
#include "mongo/stdx/mutex.h"
+#include "mongo/util/concurrency/thread_pool.h"
namespace mongo {
class Status;
-class OldThreadPool;
class OperationContext;
namespace repl {
@@ -79,7 +79,7 @@ public:
*/
static Task makeCancelTask();
- explicit TaskRunner(OldThreadPool* threadPool);
+ explicit TaskRunner(ThreadPool* threadPool);
virtual ~TaskRunner();
@@ -156,7 +156,7 @@ private:
*/
Task _waitForNextTask();
- OldThreadPool* _threadPool;
+ ThreadPool* _threadPool;
// Protects member data of this TaskRunner.
mutable stdx::mutex _mutex;