diff options
author | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-03-24 17:59:14 -0400 |
---|---|---|
committer | Andy Schwerin <Andy Schwerin schwerin@mongodb.com> | 2017-03-27 13:22:25 -0400 |
commit | f4cce647d9bdd3e988a5d514ec64cd4deb9f7a26 (patch) | |
tree | 65b178c2d48751d4bb259e2472ec888b4315bd96 /src/mongo/db/repl/elect_cmd_runner.cpp | |
parent | 5e47fab7c971014ae7ce401e94d35dc761fea8c2 (diff) | |
download | mongo-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.cpp | 4 |
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) { |