summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/dbtests.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/dbtests.h')
-rw-r--r--src/mongo/dbtests/dbtests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/dbtests.h b/src/mongo/dbtests/dbtests.h
index 159466f82b0..a3996b2e37a 100644
--- a/src/mongo/dbtests/dbtests.h
+++ b/src/mongo/dbtests/dbtests.h
@@ -54,13 +54,13 @@ namespace dbtests {
* Creates an index if it does not already exist.
*/
Status createIndex(OperationContext* txn,
- const StringData &ns,
+ StringData ns,
const BSONObj& keys,
bool unique = false);
/**
* Creates an index from a BSON spec, if it does not already exist.
*/
- Status createIndexFromSpec(OperationContext* txn, const StringData& ns, const BSONObj& spec);
+ Status createIndexFromSpec(OperationContext* txn, StringData ns, const BSONObj& spec);
} // namespace dbtests
} // namespace mongo