internal: refactor to use empty() (#10599)

This commit is contained in:
Kamikadze 2025-05-31 23:49:50 +05:00 committed by GitHub
parent 4078e1d17c
commit 69c2b2926e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 57 additions and 57 deletions

View file

@ -1359,7 +1359,7 @@ void CHyprMasterLayout::runOrientationCycle(SLayoutMessageHeader& header, CVarLi
if (vars != nullptr)
buildOrientationCycleVectorFromVars(cycle, *vars);
if (cycle.size() == 0)
if (cycle.empty())
buildOrientationCycleVectorFromEOperation(cycle);
const auto PWINDOW = header.pWindow;