From c798e1bacdaabaf140ff3904948fd7cec46c09bb Mon Sep 17 00:00:00 2001 From: bigbossbro08 Date: Sun, 10 May 2020 21:49:33 +0600 Subject: Fixed typos and made all assert functions optional --- src/text/Text.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/text') diff --git a/src/text/Text.h b/src/text/Text.h index a454a095..4255e2a5 100644 --- a/src/text/Text.h +++ b/src/text/Text.h @@ -14,9 +14,7 @@ struct CKeyEntry }; // If this fails, CKeyArray::Load will have to be fixed -#ifdef CHECK_STRUCT_SIZES -static_assert(sizeof(CKeyEntry) == 12, "CKeyEntry: error"); -#endif +VALIDATE_SIZE(CKeyEntry, 12); class CKeyArray { -- cgit v1.2.3