C4062 fix

This commit is contained in:
Menno Vink 2022-03-27 17:48:07 +02:00
parent 42be483bd5
commit 54d356e2f3

View File

@ -13841,6 +13841,9 @@ bool VmaDefragmentationContext_T::ComputeDefragmentation_Extensive(VmaBlockVecto
} }
break; break;
} }
case StateExtensive::Operation::Cleanup:
// Cleanup is handled below so that other operations may reuse the cleanup code. This case is here to prevent the unhandled enum value warning (C4062).
break;
} }
if (vectorState.operation == StateExtensive::Operation::Cleanup) if (vectorState.operation == StateExtensive::Operation::Cleanup)