summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/create_collection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/create_collection.h')
-rw-r--r--src/mongo/db/catalog/create_collection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/create_collection.h b/src/mongo/db/catalog/create_collection.h
index a03cac1ae47..ee373c7ef7b 100644
--- a/src/mongo/db/catalog/create_collection.h
+++ b/src/mongo/db/catalog/create_collection.h
@@ -74,6 +74,6 @@ Status createCollectionForApplyOps(OperationContext* opCtx,
const boost::optional<UUID>& ui,
const BSONObj& cmdObj,
bool allowRenameOutOfTheWay,
- boost::optional<BSONObj> idIndex = boost::none);
+ const boost::optional<BSONObj>& idIndex = boost::none);
} // namespace mongo