Browse Source

Make clang16 + msan happy. KIKIMR-19976

dcherednik 1 year ago
parent
commit
5d3f891c6e

+ 1 - 1
ydb/library/yql/minikql/computation/mkql_computation_pattern_cache_ut.cpp

@@ -807,7 +807,7 @@ Y_UNIT_TEST_SUITE(ComputationPatternCache) {
 
         {
             auto data = genData();
-            auto predicate = [](ui64 a) {
+            static auto predicate = [](ui64 a) {
                 return a % 128 == 0;
             };
             Y_DO_NOT_OPTIMIZE_AWAY(predicate);