Cleanup: EEVEE-Next: Use reference as suggested by MSVC

This commit is contained in:
Clément Foucault
2022-09-02 19:05:48 +02:00
parent da0bd86739
commit 356460f5cf
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);
}