diff options
| author | Benety Goh <benety@mongodb.com> | 2018-04-26 11:05:53 -0400 |
|---|---|---|
| committer | Benety Goh <benety@mongodb.com> | 2018-04-26 11:05:53 -0400 |
| commit | 810b253e98ca094743288f8174da876af47fa8f8 (patch) | |
| tree | 139a78c6d9b50680aa3d64ad5f32edbe7273ce5d /src/mongo/db/update/arithmetic_node.cpp | |
| parent | 316bcc98e2b89e266493612ee1cf4680a0265e0f (diff) | |
| download | mongo-810b253e98ca094743288f8174da876af47fa8f8.tar.gz | |
SERVER-34364 replace references to invariantOK with invariant
Diffstat (limited to 'src/mongo/db/update/arithmetic_node.cpp')
| -rw-r--r-- | src/mongo/db/update/arithmetic_node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/update/arithmetic_node.cpp b/src/mongo/db/update/arithmetic_node.cpp index ab46e854616..de057eef017 100644 --- a/src/mongo/db/update/arithmetic_node.cpp +++ b/src/mongo/db/update/arithmetic_node.cpp @@ -113,7 +113,7 @@ ModifierNode::ModifyResult ArithmeticNode::updateExistingElement( << (idElem.ok() ? idElem.toString() : "no id") << "}"); } else { - invariantOK(element->setValueSafeNum(valueToSet)); + invariant(element->setValueSafeNum(valueToSet)); return ModifyResult::kNormalUpdate; } } |
