Replace COMPILE_ASSERT() with standard static_assert()
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user