summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_test_fixture.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2017-11-27 10:32:07 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2017-11-28 15:59:13 -0500
commit26b42901e302db19cfbdbf3726b7be6fb624f4f5 (patch)
tree3e1a3e8f57c584ea3131b6fda11d84531b3077eb /src/mongo/db/repl/replication_coordinator_test_fixture.h
parente38cf83f058f2e29e41c4fe2f02b7fbc405ceb8c (diff)
downloadmongo-26b42901e302db19cfbdbf3726b7be6fb624f4f5.tar.gz
SERVER-30626 Remove TopologyCoordinator interface.
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_test_fixture.h')
-rw-r--r--src/mongo/db/repl/replication_coordinator_test_fixture.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_test_fixture.h b/src/mongo/db/repl/replication_coordinator_test_fixture.h
index 92eeea79f63..15b0027b32f 100644
--- a/src/mongo/db/repl/replication_coordinator_test_fixture.h
+++ b/src/mongo/db/repl/replication_coordinator_test_fixture.h
@@ -48,7 +48,7 @@ class ReplSetConfig;
class ReplicationCoordinatorExternalStateMock;
class ReplicationCoordinatorImpl;
class StorageInterfaceMock;
-class TopologyCoordinatorImpl;
+class TopologyCoordinator;
using executor::NetworkInterfaceMock;
@@ -120,7 +120,7 @@ protected:
/**
* Gets the topology coordinator used by the replication coordinator under test.
*/
- TopologyCoordinatorImpl& getTopoCoord() {
+ TopologyCoordinator& getTopoCoord() {
return *_topo;
}
@@ -288,7 +288,7 @@ protected:
private:
std::unique_ptr<ReplicationCoordinatorImpl> _repl;
// Owned by ReplicationCoordinatorImpl
- TopologyCoordinatorImpl* _topo = nullptr;
+ TopologyCoordinator* _topo = nullptr;
// Owned by executor
executor::NetworkInterfaceMock* _net = nullptr;
// Owned by ReplicationCoordinatorImpl