Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert

This commit is contained in:
Mateo Dev .59
2020-03-04 04:44:47 -03:00
committed by Mateo Miccino
parent aee36ec01b
commit c933eb7acc
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1172,7 +1172,7 @@ MainLoop *test() {
/** A character length != wchar_t may be forced, so the tests won't work */
ERR_FAIL_COND_V(sizeof(CharType) != sizeof(wchar_t), NULL);
static_assert(sizeof(CharType) == sizeof(wchar_t));
int count = 0;
int passed = 0;