summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/arithmetic_node.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/arithmetic_node.cpp')
-rw-r--r--src/mongo/db/update/arithmetic_node.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/update/arithmetic_node.cpp b/src/mongo/db/update/arithmetic_node.cpp
index c5b7a3373f7..ab46e854616 100644
--- a/src/mongo/db/update/arithmetic_node.cpp
+++ b/src/mongo/db/update/arithmetic_node.cpp
@@ -58,7 +58,8 @@ const char* getModifierNameForOp(ArithmeticNode::ArithmeticOp op) {
}
} // namespace
-Status ArithmeticNode::init(BSONElement modExpr, const CollatorInterface* collator) {
+Status ArithmeticNode::init(BSONElement modExpr,
+ const boost::intrusive_ptr<ExpressionContext>& expCtx) {
invariant(modExpr.ok());
if (!modExpr.isNumber()) {