mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-13 21:45:58 +00:00
refactor: use std::ranges whenever possible (#10584)
This commit is contained in:
@@ -384,7 +384,7 @@ void CHyprAnimationManager::onWindowPostCreateClose(PHLWINDOW pWindow, bool clos
|
||||
}
|
||||
|
||||
std::string ANIMSTYLE = pWindow->m_realPosition->getStyle();
|
||||
transform(ANIMSTYLE.begin(), ANIMSTYLE.end(), ANIMSTYLE.begin(), ::tolower);
|
||||
std::ranges::transform(ANIMSTYLE, ANIMSTYLE.begin(), ::tolower);
|
||||
|
||||
CVarList animList(ANIMSTYLE, 0, 's');
|
||||
|
||||
|
Reference in New Issue
Block a user