Skip to content

Commit

Permalink
Don't use range
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Feb 7, 2025
1 parent f0b975c commit ba4d3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void SofaGLFWWindow::close()
m_currentBackgroundTexture = nullptr;
}

for(auto& background : m_backgrounds | std::views::values)
for(auto& [_, background] : m_backgrounds)
{
delete background.texture;
}
Expand Down

0 comments on commit ba4d3b9

Please sign in to comment.