mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 18:06:25 +08:00
[hotfix] Fix mac build (#14075)
* . * done? * . Co-authored-by: Alex Wu <alex@anyscale.com>
This commit is contained in:
@@ -1026,7 +1026,7 @@ void ReferenceCounter::PushToLocationSubscribers(ReferenceTable::iterator it) {
|
||||
const auto callbacks = it->second.location_subscription_callbacks;
|
||||
it->second.location_subscription_callbacks.clear();
|
||||
it->second.location_version++;
|
||||
for (const auto callback : callbacks) {
|
||||
for (const auto &callback : callbacks) {
|
||||
callback(it->second.locations, it->second.object_size, it->second.spilled_url,
|
||||
it->second.spilled_node_id, it->second.location_version);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user