Skip to content

Commit

Permalink
Fix mac build (ray-project#43450)
Browse files Browse the repository at this point in the history
The PR fix the mac build which errored at: https://buildkite.com/ray-project/postmerge/builds/3116#018de770-6cd3-41d2-95c4-2d88a0bde696/1393-2180

Signed-off-by: Jiajun Yao <[email protected]>
Co-authored-by: Jiajun Yao <[email protected]>
  • Loading branch information
fishbone and jjyao committed Feb 28, 2024
1 parent eda7d7e commit 1772b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray/raylet/local_task_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ void LocalTaskManager::ReleaseWorkerResources(std::shared_ptr<WorkerInterface> w
}
}

for (const auto cpu_resource_id : cpu_resource_ids) {
for (const auto &cpu_resource_id : cpu_resource_ids) {
allocated_instances->Remove(cpu_resource_id);
}
}
Expand Down

0 comments on commit 1772b6c

Please sign in to comment.