summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/elect_cmd_runner.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <Andy Schwerin schwerin@mongodb.com>2017-03-24 17:59:14 -0400
committerAndy Schwerin <Andy Schwerin schwerin@mongodb.com>2017-03-27 13:22:25 -0400
commitf4cce647d9bdd3e988a5d514ec64cd4deb9f7a26 (patch)
tree65b178c2d48751d4bb259e2472ec888b4315bd96 /src/mongo/db/repl/elect_cmd_runner.cpp
parent5e47fab7c971014ae7ce401e94d35dc761fea8c2 (diff)
downloadmongo-f4cce647d9bdd3e988a5d514ec64cd4deb9f7a26.tar.gz
SERVER-28491 Re-host unit tests that used ReplicationExecutorTest onto ThreadPoolExecutorTest.
Diffstat (limited to 'src/mongo/db/repl/elect_cmd_runner.cpp')
-rw-r--r--src/mongo/db/repl/elect_cmd_runner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/elect_cmd_runner.cpp b/src/mongo/db/repl/elect_cmd_runner.cpp
index 6f155213861..ef6d9c722d3 100644
--- a/src/mongo/db/repl/elect_cmd_runner.cpp
+++ b/src/mongo/db/repl/elect_cmd_runner.cpp
@@ -128,8 +128,8 @@ void ElectCmdRunner::Algorithm::processResponse(const RemoteCommandRequest& requ
ElectCmdRunner::ElectCmdRunner() : _isCanceled(false) {}
ElectCmdRunner::~ElectCmdRunner() {}
-StatusWith<ReplicationExecutor::EventHandle> ElectCmdRunner::start(
- ReplicationExecutor* executor,
+StatusWith<executor::TaskExecutor::EventHandle> ElectCmdRunner::start(
+ executor::TaskExecutor* executor,
const ReplSetConfig& currentConfig,
int selfIndex,
const std::vector<HostAndPort>& targets) {