Simplify the code to keep xcode happy

This commit is contained in:
Menno Vink 2022-03-27 18:34:29 +02:00
parent 54d356e2f3
commit 11cbcfcfc5

View File

@ -5879,9 +5879,14 @@ private:
void PostMinorCounter() void PostMinorCounter()
{ {
if(m_MinorCounter < m_MajorCounter) if(m_MinorCounter < m_MajorCounter)
{
++m_MinorCounter; ++m_MinorCounter;
}
else if(m_MajorCounter > 0) else if(m_MajorCounter > 0)
--m_MajorCounter, --m_MinorCounter; {
--m_MajorCounter;
--m_MinorCounter;
}
} }
}; };