mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:32:11 +08:00
[Hotfix] Master compilation error on MacOS. (#13946)
This commit is contained in:
@@ -1010,7 +1010,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.location_version);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user