diff options
Diffstat (limited to 'src/mongo/db/query/index_bounds_builder_test.cpp')
-rw-r--r-- | src/mongo/db/query/index_bounds_builder_test.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/query/index_bounds_builder_test.cpp b/src/mongo/db/query/index_bounds_builder_test.cpp index 7b400b2c62c..f8bff9d6984 100644 --- a/src/mongo/db/query/index_bounds_builder_test.cpp +++ b/src/mongo/db/query/index_bounds_builder_test.cpp @@ -35,7 +35,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/expression_index.h" #include "mongo/unittest/unittest.h" @@ -60,8 +59,7 @@ double NaN = numeric_limits<double>::quiet_NaN(); */ 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()); MatchExpression* expr(status.getValue().release()); return expr; |