diff options
Diffstat (limited to 'src/mongo/bson/mutable/element.h')
-rw-r--r-- | src/mongo/bson/mutable/element.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/bson/mutable/element.h b/src/mongo/bson/mutable/element.h index 85756d1fea9..7438d97f186 100644 --- a/src/mongo/bson/mutable/element.h +++ b/src/mongo/bson/mutable/element.h @@ -724,7 +724,7 @@ inline bool Element::isValueMaxKey() const { } inline bool Element::ok() const { - dassert(_doc != NULL); + dassert(_doc != nullptr); return _repIdx <= kMaxRepIdx; } @@ -745,7 +745,7 @@ inline Element::RepIdx Element::getIdx() const { } inline Element::Element(Document* doc, RepIdx repIdx) : _doc(doc), _repIdx(repIdx) { - dassert(_doc != NULL); + dassert(_doc != nullptr); } inline StringData Element::getValueStringOrSymbol() const { |