diff options
Diffstat (limited to 'src/audio/AudioCollision.h')
-rw-r--r-- | src/audio/AudioCollision.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/audio/AudioCollision.h b/src/audio/AudioCollision.h index e8711f9a..0a058916 100644 --- a/src/audio/AudioCollision.h +++ b/src/audio/AudioCollision.h @@ -20,9 +20,7 @@ public: // no methods }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(cAudioCollision) == 40, "cAudioCollision: error"); -#endif +VALIDATE_SIZE(cAudioCollision, 40); class cAudioCollisionManager { @@ -37,6 +35,4 @@ public: void AddCollisionToRequestedQueue(); }; -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(cAudioCollisionManager) == 852, "cAudioCollisionManager: error"); -#endif
\ No newline at end of file +VALIDATE_SIZE(cAudioCollisionManager, 852); |