diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-15 16:55:49 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-05-26 14:30:05 -0400 |
commit | 5a4614d3b9f6f65fc72ebc6ec7033996b7e97b68 (patch) | |
tree | bffef69d1c984ba44166d957214084bd528940f3 /src/mongo/db/repl/oplogreader.h | |
parent | 6ff771d5ea56c15ffc298f0d78b76f427d171052 (diff) | |
download | mongo-5a4614d3b9f6f65fc72ebc6ec7033996b7e97b68.tar.gz |
SERVER-18127 Shard class should use ConnectionString for addresses
Currently we convert indiscriminately between ConnectionString and
std::string. This change unifies all places to use only ConnectionString.
Diffstat (limited to 'src/mongo/db/repl/oplogreader.h')
-rw-r--r-- | src/mongo/db/repl/oplogreader.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplogreader.h b/src/mongo/db/repl/oplogreader.h index fc19c83d5cb..017e2613281 100644 --- a/src/mongo/db/repl/oplogreader.h +++ b/src/mongo/db/repl/oplogreader.h @@ -38,12 +38,16 @@ #include "mongo/util/net/hostandport.h" namespace mongo { -namespace repl { - extern const BSONObj reverseNaturalObj; // {"$natural": -1 } + class OperationContext; + +namespace repl { class ReplicationCoordinator; + // {"$natural": -1 } + extern const BSONObj reverseNaturalObj; + /** * Authenticates conn using the server's cluster-membership credentials. * |