diff options
author | Justin Seyster <justin.seyster@mongodb.com> | 2017-09-28 21:54:20 -0400 |
---|---|---|
committer | Justin Seyster <justin.seyster@mongodb.com> | 2017-09-28 21:54:20 -0400 |
commit | e3bb43cfa8ac0d04ba28ffd3b09a53785feabb31 (patch) | |
tree | ec22edf29d746877baa697f80bc10d0b40ebb616 /src/mongo/db/matcher/schema/expression_internal_schema_object_match.h | |
parent | 3cf4e0593c394dd7eb45d8000d76b5dc73a3f425 (diff) | |
download | mongo-e3bb43cfa8ac0d04ba28ffd3b09a53785feabb31.tar.gz |
Revert "SERVER-30991 Introduce MatchExpression::optimize()."
This reverts commit 3cf4e0593c394dd7eb45d8000d76b5dc73a3f425.
Reverting because of a Clang compile error.
Diffstat (limited to 'src/mongo/db/matcher/schema/expression_internal_schema_object_match.h')
-rw-r--r-- | src/mongo/db/matcher/schema/expression_internal_schema_object_match.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/matcher/schema/expression_internal_schema_object_match.h b/src/mongo/db/matcher/schema/expression_internal_schema_object_match.h index 5d3eb8b3bea..53f387752b7 100644 --- a/src/mongo/db/matcher/schema/expression_internal_schema_object_match.h +++ b/src/mongo/db/matcher/schema/expression_internal_schema_object_match.h @@ -77,10 +77,6 @@ public: } private: - ExpressionOptimizerFunc getOptimizer() const final { - return [](std::unique_ptr<MatchExpression> expression) { return expression; }; - } - std::unique_ptr<MatchExpression> _sub; }; } // namespace mongo |