Fix MSVC variable hides variable warning

This commit is contained in:
lundberg 2017-11-17 11:34:55 -06:00
parent ec02c499c5
commit e8cd3df79a

View File

@ -434,8 +434,8 @@ void halo_impl::render()
}
// Render the haloes: draw all invalidated haloes
for(int halo_id : invalidated_haloes) {
haloes.at(halo_id).render();
for(int id : invalidated_haloes) {
haloes.at(id).render();
}
invalidated_haloes.clear();