diff options
Diffstat (limited to 'src/mongo/db/ops/modifier_pull.cpp')
-rw-r--r-- | src/mongo/db/ops/modifier_pull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ops/modifier_pull.cpp b/src/mongo/db/ops/modifier_pull.cpp index 75bfaa4aa30..70d5442a716 100644 --- a/src/mongo/db/ops/modifier_pull.cpp +++ b/src/mongo/db/ops/modifier_pull.cpp @@ -214,7 +214,7 @@ Status ModifierPull::apply() const { std::vector<mb::Element>::const_iterator where = _preparedState->elementsToRemove.begin(); const std::vector<mb::Element>::const_iterator end = _preparedState->elementsToRemove.end(); for (; where != end; ++where) - const_cast<mb::Element&>(*where).remove(); + const_cast<mb::Element&>(*where).remove().transitional_ignore(); return Status::OK(); } |