diff options
Diffstat (limited to 'src/mongo/db/exec/sbe/sbe_filter_test.cpp')
-rw-r--r-- | src/mongo/db/exec/sbe/sbe_filter_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/sbe_filter_test.cpp b/src/mongo/db/exec/sbe/sbe_filter_test.cpp index 15a34975c9f..eb7c7c05214 100644 --- a/src/mongo/db/exec/sbe/sbe_filter_test.cpp +++ b/src/mongo/db/exec/sbe/sbe_filter_test.cpp @@ -33,6 +33,7 @@ #include "mongo/platform/basic.h" +#include <string_view> #include "mongo/db/exec/sbe/sbe_plan_stage_test.h" #include "mongo/db/exec/sbe/stages/filter.h" @@ -147,7 +148,7 @@ TEST_F(FilterStageTest, FilterIsNumberTest) { // Build a FilterStage whose filter expression is "isNumber(scanSlot)". auto filter = makeS<FilterStage<false>>( std::move(scanStage), - makeE<EFunction>("isNumber"_sd, makeEs(makeE<EVariable>(scanSlot))), + makeE<EFunction>("isNumber"sv, makeEs(makeE<EVariable>(scanSlot))), kEmptyPlanNodeId); return std::make_pair(scanSlot, std::move(filter)); |