From dce2e370ff13d77135c932f446b6f0cb5bb54c8a Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 15 Aug 2024 20:39:40 +0800 Subject: [PATCH] Try fix ci error --- native/tests/unit-test/src/scheduler_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/tests/unit-test/src/scheduler_test.cpp b/native/tests/unit-test/src/scheduler_test.cpp index a0890b36403..769cbacb9e2 100644 --- a/native/tests/unit-test/src/scheduler_test.cpp +++ b/native/tests/unit-test/src/scheduler_test.cpp @@ -36,7 +36,7 @@ TEST(schedulerTest, performInCocosThreadOrder) { std::vector orderResult; for (int i = 0; i < 10; ++i) { - auto task = [&orderResult, i, &scheduler](){ + auto task = [&orderResult, i, scheduler](){ orderResult.emplace_back(i); if (i == 5) {