summaryrefslogtreecommitdiff
path: root/src/mongo/db/oplogreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/oplogreader.h')
-rw-r--r--src/mongo/db/oplogreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/oplogreader.h b/src/mongo/db/oplogreader.h
index 93c4bcdc156..8a61aeaa250 100644
--- a/src/mongo/db/oplogreader.h
+++ b/src/mongo/db/oplogreader.h
@@ -34,7 +34,7 @@ namespace mongo {
}
/* ok to call if already connected */
- bool connect(string hostname);
+ bool connect(const std::string& hostname);
bool connect(const BSONObj& rid, const int from, const string& to);