summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index_builder.cpp')
-rw-r--r--src/mongo/db/index_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_builder.cpp b/src/mongo/db/index_builder.cpp
index 6f5804d17c4..c741814a663 100644
--- a/src/mongo/db/index_builder.cpp
+++ b/src/mongo/db/index_builder.cpp
@@ -182,7 +182,7 @@ Status IndexBuilder::_build(OperationContext* opCtx,
coll,
[opCtx, coll, &ns](const BSONObj& indexSpec) {
opCtx->getServiceContext()->getOpObserver()->onCreateIndex(
- opCtx, ns, *(coll->uuid()), indexSpec, false);
+ opCtx, ns, coll->uuid(), indexSpec, false);
},
MultiIndexBlock::kNoopOnCommitFn);
if (!status.isOK()) {