Skip to content

Commit

Permalink
Try fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed Aug 15, 2024
1 parent 3231bdc commit dce2e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/tests/unit-test/src/scheduler_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST(schedulerTest, performInCocosThreadOrder) {
std::vector<int> 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) {
Expand Down

0 comments on commit dce2e37

Please sign in to comment.