summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/dbhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/dbhash.h')
-rw-r--r--src/mongo/db/commands/dbhash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/dbhash.h b/src/mongo/db/commands/dbhash.h
index 383c7fb9d80..327e31a858a 100644
--- a/src/mongo/db/commands/dbhash.h
+++ b/src/mongo/db/commands/dbhash.h
@@ -48,11 +48,11 @@ namespace mongo {
virtual bool run(OperationContext* txn, const std::string& dbname , BSONObj& cmdObj, int, std::string& errmsg, BSONObjBuilder& result, bool);
- void wipeCacheForCollection( const StringData& ns );
+ void wipeCacheForCollection( StringData ns );
private:
- bool isCachable( const StringData& ns ) const;
+ bool isCachable( StringData ns ) const;
std::string hashCollection( OperationContext* opCtx, Database* db, const std::string& fullCollectionName, bool* fromCache );