diff options
Diffstat (limited to 'src/mongo/db/query/planner_ixselect_test.cpp')
-rw-r--r-- | src/mongo/db/query/planner_ixselect_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/query/planner_ixselect_test.cpp b/src/mongo/db/query/planner_ixselect_test.cpp index 1c273db8716..bacd8990a56 100644 --- a/src/mongo/db/query/planner_ixselect_test.cpp +++ b/src/mongo/db/query/planner_ixselect_test.cpp @@ -34,7 +34,6 @@ #include "mongo/db/json.h" #include "mongo/db/matcher/expression_parser.h" -#include "mongo/db/matcher/extensions_callback_disallow_extensions.h" #include "mongo/db/query/collation/collator_interface_mock.h" #include "mongo/db/query/index_tag.h" #include "mongo/unittest/unittest.h" @@ -54,8 +53,7 @@ using std::vector; */ unique_ptr<MatchExpression> parseMatchExpression(const BSONObj& obj) { const CollatorInterface* collator = nullptr; - StatusWithMatchExpression status = - MatchExpressionParser::parse(obj, ExtensionsCallbackDisallowExtensions(), collator); + StatusWithMatchExpression status = MatchExpressionParser::parse(obj, collator); ASSERT_TRUE(status.isOK()); return std::move(status.getValue()); } |