diff options
Diffstat (limited to 'src/mongo/db/exec/update_stage.cpp')
-rw-r--r-- | src/mongo/db/exec/update_stage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/exec/update_stage.cpp b/src/mongo/db/exec/update_stage.cpp index 34953bb62ff..7f079f27d9f 100644 --- a/src/mongo/db/exec/update_stage.cpp +++ b/src/mongo/db/exec/update_stage.cpp @@ -168,7 +168,7 @@ UpdateStage::UpdateStage(OperationContext* opCtx, _ws(ws), _idRetrying(WorkingSet::INVALID_ID), _idReturning(WorkingSet::INVALID_ID), - _updatedRecordIds(params.request->isMulti() ? new RecordIdSet() : NULL), + _updatedRecordIds(params.request->isMulti() ? new RecordIdSet() : nullptr), _doc(params.driver->getDocument()) { _children.emplace_back(child); @@ -282,7 +282,7 @@ BSONObj UpdateStage::transformAndUpdate(const Snapshotted<BSONObj>& oldObj, Reco } // See if the changes were applied in place - const char* source = NULL; + const char* source = nullptr; const bool inPlace = _doc.getInPlaceUpdates(&_damages, &source); if (inPlace && _damages.empty()) { |