fix warns
This commit is contained in:
parent
1ead6c46f4
commit
31cd104286
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ IHyprLayout* CLayoutManager::getCurrentLayout() {
|
|||
void CLayoutManager::switchToLayout(std::string layout) {
|
||||
for (size_t i = 0; i < m_vLayouts.size(); ++i) {
|
||||
if (m_vLayouts[i].first == layout) {
|
||||
if (i == m_iCurrentLayoutID)
|
||||
if (i == (size_t)m_iCurrentLayoutID)
|
||||
return;
|
||||
|
||||
getCurrentLayout()->onDisable();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue