mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-16 20:43:48 -07:00
refactor: use std::ranges whenever possible (#10584)
This commit is contained in:
@@ -46,7 +46,7 @@ void CHookSystemManager::emit(std::vector<SCallbackFNPtr>* const callbacks, SCal
|
||||
|
||||
m_currentEventPlugin = true;
|
||||
|
||||
if (std::find(faultyHandles.begin(), faultyHandles.end(), cb.handle) != faultyHandles.end())
|
||||
if (std::ranges::find(faultyHandles, cb.handle) != faultyHandles.end())
|
||||
continue;
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user