summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_descriptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/index/index_descriptor.cpp')
-rw-r--r--src/mongo/db/index/index_descriptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index/index_descriptor.cpp b/src/mongo/db/index/index_descriptor.cpp
index edae421b9f6..d90a8dddad3 100644
--- a/src/mongo/db/index/index_descriptor.cpp
+++ b/src/mongo/db/index/index_descriptor.cpp
@@ -112,7 +112,7 @@ IndexDescriptor::IndexDescriptor(Collection* collection,
_sparse(infoObj[IndexDescriptor::kSparseFieldName].trueValue()),
_unique(_isIdIndex || infoObj[kUniqueFieldName].trueValue()),
_partial(!infoObj[kPartialFilterExprFieldName].eoo()),
- _cachedEntry(NULL) {
+ _cachedEntry(nullptr) {
_indexNamespace = NamespaceString(_parentNS).makeIndexNamespace(_indexName).ns();
BSONElement e = _infoObj[IndexDescriptor::kIndexVersionFieldName];