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/expression_type.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/expression_type.h')
-rw-r--r-- | src/mongo/db/matcher/expression_type.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/matcher/expression_type.h b/src/mongo/db/matcher/expression_type.h index c9ac6a2129d..e63d68f5def 100644 --- a/src/mongo/db/matcher/expression_type.h +++ b/src/mongo/db/matcher/expression_type.h @@ -105,10 +105,6 @@ public: } private: - ExpressionOptimizerFunc getOptimizer() const final { - return [](std::unique_ptr<MatchExpression> expression) { return expression; }; - } - // The set of matching types. MatcherTypeSet _typeSet; }; |