forked from mirror/OpenTTD
Codechange: Replace assert_compile macro with static_assert
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
#include "safeguards.h"
|
||||
|
||||
#ifdef _SQ64
|
||||
assert_compile((sizeof(ParentSpriteToDraw) % 16) == 0);
|
||||
static_assert((sizeof(ParentSpriteToDraw) % 16) == 0);
|
||||
# define LOAD_128 _mm_load_si128
|
||||
#else
|
||||
# define LOAD_128 _mm_loadu_si128
|
||||
|
Reference in New Issue
Block a user