Cleanup: EEVEE-Next: Use reference as suggested by MSVC
This commit is contained in:
@@ -333,7 +333,7 @@ void LightModule::end_sync()
|
||||
/* This scene data buffer is then immutable after this point. */
|
||||
light_buf_.push_update();
|
||||
|
||||
for (auto key : deleted_keys) {
|
||||
for (auto &key : deleted_keys) {
|
||||
light_map_.remove(key);
|
||||
}
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@ void VelocityModule::end_sync()
|
||||
inst_.sampling.reset();
|
||||
}
|
||||
|
||||
for (auto key : deleted_obj) {
|
||||
for (auto &key : deleted_obj) {
|
||||
velocity_map.remove(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user