summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/current_date_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/update/current_date_node.h')
-rw-r--r--src/mongo/db/update/current_date_node.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/update/current_date_node.h b/src/mongo/db/update/current_date_node.h
index b2e1963c632..7872dadce9a 100644
--- a/src/mongo/db/update/current_date_node.h
+++ b/src/mongo/db/update/current_date_node.h
@@ -48,6 +48,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;