diff options
author | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 17:49:33 +0200 |
---|---|---|
committer | bigbossbro08 <bigbossbro08@gmail.com> | 2020-05-10 17:49:33 +0200 |
commit | c798e1bacdaabaf140ff3904948fd7cec46c09bb (patch) | |
tree | ef6d50874117bcc819b90dcd231d74f23fa0108d /src/audio/AudioCollision.h | |
parent | defined out asserts. (diff) | |
download | re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.gz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.bz2 re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.lz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.xz re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.tar.zst re3-c798e1bacdaabaf140ff3904948fd7cec46c09bb.zip |
Diffstat (limited to '')
-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); |