summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/compare_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/compare_node.h')
-rw-r--r--src/mongo/db/update/compare_node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/update/compare_node.h b/src/mongo/db/update/compare_node.h
index 80fb7d26b8a..95bcd666d8f 100644
--- a/src/mongo/db/update/compare_node.h
+++ b/src/mongo/db/update/compare_node.h
@@ -52,6 +52,10 @@ public:
void setCollator(const CollatorInterface* collator) final;
+ void acceptVisitor(UpdateNodeVisitor* visitor) final {
+ visitor->visit(this);
+ }
+
protected:
ModifyResult updateExistingElement(mutablebson::Element* element,
std::shared_ptr<FieldRef> elementPath) const final;