mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 06:11:53 +00:00
Code Quality: Use enum class instead of enum to make sure enum members can only be accessed when scoped to the enum
This commit is contained in:
@ -66,7 +66,7 @@ block_t XBlockInputStream::PopBlock()
|
||||
m_block_in_stack[poppedBlock->m_index]--;
|
||||
|
||||
// If the temp block is not used anymore right now, reset it to the buffer start since as the name suggests, the data inside is temporary.
|
||||
if(poppedBlock->m_type == XBlock::BLOCK_TYPE_TEMP && m_block_in_stack[poppedBlock->m_index] == 0)
|
||||
if(poppedBlock->m_type == XBlock::Type::BLOCK_TYPE_TEMP && m_block_in_stack[poppedBlock->m_index] == 0)
|
||||
{
|
||||
m_block_offsets[poppedBlock->m_index] = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user