From 99750dc0d4859ffd6ab44da64e9dbd1cfbf04417 Mon Sep 17 00:00:00 2001 From: Chengcheng Jin Date: Thu, 12 Dec 2024 09:15:46 +0000 Subject: [PATCH] fix --- velox/exec/tests/SpillTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velox/exec/tests/SpillTest.cpp b/velox/exec/tests/SpillTest.cpp index 4a8d75a1d6141..b52b02c590cf4 100644 --- a/velox/exec/tests/SpillTest.cpp +++ b/velox/exec/tests/SpillTest.cpp @@ -998,7 +998,7 @@ TEST_P(SpillTest, multipleSortKeys) { 1 << 20, testData.mergePrefixComparatorEnabled, pool(), &spillStats_); ASSERT_TRUE(merge != nullptr); - const auto testMerge = [] { + const auto testMerge = [&] { for (auto i = 0; i < timeValues.size(); ++i) { auto* stream = merge->next(); ASSERT_NE(stream, nullptr);