summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/primary_only_service_op_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/primary_only_service_op_observer.h')
-rw-r--r--src/mongo/db/repl/primary_only_service_op_observer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/primary_only_service_op_observer.h b/src/mongo/db/repl/primary_only_service_op_observer.h
index 9da7153560c..7b176eb663e 100644
--- a/src/mongo/db/repl/primary_only_service_op_observer.h
+++ b/src/mongo/db/repl/primary_only_service_op_observer.h
@@ -108,7 +108,7 @@ public:
const boost::optional<OplogSlot> slot) final {}
void onCreateCollection(OperationContext* opCtx,
- Collection* coll,
+ const Collection* coll,
const NamespaceString& collectionName,
const CollectionOptions& options,
const BSONObj& idIndex,