Skip to content

Commit

Permalink
Fix MSVC variable hides variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryLundberg committed Nov 17, 2017
1 parent ec02c49 commit e8cd3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/halo.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit e8cd3df

Please sign in to comment.