summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/list_indexes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/list_indexes.h')
-rw-r--r--src/mongo/db/catalog/list_indexes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/list_indexes.h b/src/mongo/db/catalog/list_indexes.h
index 8ceeb2d019e..1dd298c1b15 100644
--- a/src/mongo/db/catalog/list_indexes.h
+++ b/src/mongo/db/catalog/list_indexes.h
@@ -44,7 +44,7 @@ StatusWith<std::list<BSONObj>> listIndexes(OperationContext* opCtx,
const NamespaceStringOrUUID& ns,
bool includeBuildUUIDs);
std::list<BSONObj> listIndexesInLock(OperationContext* opCtx,
- const Collection* collection,
+ const CollectionPtr& collection,
const NamespaceString& nss,
bool includeBuildUUIDs);
std::list<BSONObj> listIndexesEmptyListIfMissing(OperationContext* opCtx,