summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_leaf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/expression_leaf.h')
-rw-r--r--src/mongo/db/matcher/expression_leaf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/matcher/expression_leaf.h b/src/mongo/db/matcher/expression_leaf.h
index e042e6d99fb..fe6878eb05d 100644
--- a/src/mongo/db/matcher/expression_leaf.h
+++ b/src/mongo/db/matcher/expression_leaf.h
@@ -78,8 +78,8 @@ public:
MONGO_UNREACHABLE;
}
- boost::optional<std::vector<MatchExpression*>&> getChildVector() final {
- return boost::none;
+ std::vector<std::unique_ptr<MatchExpression>>* getChildVector() final {
+ return nullptr;
}
MatchCategory getCategory() const override {