summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplogreader.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-05-15 16:55:49 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-05-26 14:30:05 -0400
commit5a4614d3b9f6f65fc72ebc6ec7033996b7e97b68 (patch)
treebffef69d1c984ba44166d957214084bd528940f3 /src/mongo/db/repl/oplogreader.h
parent6ff771d5ea56c15ffc298f0d78b76f427d171052 (diff)
downloadmongo-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.h8
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.
*