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 30, 2017
1 parent 2c7b08e commit 0baa491
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 0baa491

Please sign in to comment.