summaryrefslogtreecommitdiff
path: root/src/mongo/s/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r--src/mongo/s/grid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h
index ba8886317bc..a3fd0c1cd5b 100644
--- a/src/mongo/s/grid.h
+++ b/src/mongo/s/grid.h
@@ -45,7 +45,7 @@ namespace mongo {
* removes db entry.
* on next getDBConfig call will fetch from db
*/
- void removeDB( string db );
+ void removeDB( const std::string& db );
/**
* removes db entry - only this DBConfig object will be removed,
@@ -106,7 +106,7 @@ namespace mongo {
* @param name identifies a particular type of configuration data.
* @return a BSON object containing the requested data.
*/
- BSONObj getConfigSetting( string name ) const;
+ BSONObj getConfigSetting( const std::string& name ) const;
unsigned long long getNextOpTime() const;