Replace COMPILE_ASSERT() with standard static_assert()

This commit is contained in:
Martin Natano
2023-04-20 11:21:29 +02:00
parent 78fb2e9fc3
commit 0b0787f344
6 changed files with 11 additions and 16 deletions
@@ -493,7 +493,7 @@ static EffectMode EffectModes[] =
{
EffectMode_YUYV422,
};
COMPILE_ASSERT( ARRAYLEN(EffectModes) == NUM_PixelFormatYCbCr );
static_assert( ARRAYLEN(EffectModes) == NUM_PixelFormatYCbCr );
EffectMode MovieTexture_Generic::GetEffectMode( MovieDecoderPixelFormatYCbCr fmt )
{