summaryrefslogtreecommitdiffstats
path: root/src/text
diff options
context:
space:
mode:
Diffstat (limited to 'src/text')
-rw-r--r--src/text/Text.h4
1 files changed, 1 insertions, 3 deletions
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
{