mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-22 04:10:05 +00:00
Simplify the code to keep xcode happy
This commit is contained in:
parent
54d356e2f3
commit
11cbcfcfc5
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user