summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog_entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_entry.h')
-rw-r--r--src/mongo/db/catalog/index_catalog_entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_catalog_entry.h b/src/mongo/db/catalog/index_catalog_entry.h
index 114644d503d..73a9bbea7b7 100644
--- a/src/mongo/db/catalog/index_catalog_entry.h
+++ b/src/mongo/db/catalog/index_catalog_entry.h
@@ -48,7 +48,7 @@ namespace mongo {
class IndexCatalogEntry {
MONGO_DISALLOW_COPYING( IndexCatalogEntry );
public:
- IndexCatalogEntry( const StringData& ns,
+ IndexCatalogEntry( StringData ns,
CollectionCatalogEntry* collection, // not owned
IndexDescriptor* descriptor, // ownership passes to me
CollectionInfoCache* infoCache ); // not owned, optional