Gui: apply std::ranges

This commit is contained in:
bofdahof
2025-03-12 17:47:04 +10:00
committed by Chris Hennes
parent 8ba49db74e
commit cb5caf6765
15 changed files with 42 additions and 41 deletions

View File

@@ -948,7 +948,7 @@ void StdCmdToggleTransparency::activated(int iMsg)
}
}
if (std::find(views.begin(), views.end(), view) == views.end()) {
if (std::ranges::find(views, view) == views.end()) {
views.push_back(view);
}
}