summaryrefslogtreecommitdiff
path: root/src/mongo/db/system_index.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/system_index.h')
-rw-r--r--src/mongo/db/system_index.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/system_index.h b/src/mongo/db/system_index.h
index 02eb4d26b4a..ce341e8b3b9 100644
--- a/src/mongo/db/system_index.h
+++ b/src/mongo/db/system_index.h
@@ -32,6 +32,7 @@
namespace mongo {
class Collection;
+class CollectionPtr;
class OperationContext;
class Status;
@@ -39,7 +40,7 @@ class Status;
* Creates the appropriate indexes on _new_ system collections for authentication,
* authorization, and sessions.
*/
-void createSystemIndexes(OperationContext* opCtx, const Collection* collection);
+void createSystemIndexes(OperationContext* opCtx, const CollectionPtr& collection);
/**
* Verifies that only the appropriate indexes to support authentication, authorization, and