summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/dbhelpers.h')
-rw-r--r--src/mongo/db/dbhelpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbhelpers.h b/src/mongo/db/dbhelpers.h
index 3ff0318b687..d143c418dbf 100644
--- a/src/mongo/db/dbhelpers.h
+++ b/src/mongo/db/dbhelpers.h
@@ -99,7 +99,7 @@ struct Helpers {
*/
static bool findById(OperationContext* opCtx,
Database* db,
- const char* ns,
+ StringData ns,
BSONObj query,
BSONObj& result,
bool* nsFound = 0,
@@ -184,7 +184,7 @@ struct Helpers {
* You do not need to set the database before calling.
* Does not oplog the operation.
*/
- static void emptyCollection(OperationContext* opCtx, const char* ns);
+ static void emptyCollection(OperationContext* opCtx, const NamespaceString& nss);
/**
* for saving deleted bson objects to a flat file