1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert

This commit is contained in:
Mateo Dev .59
2020-02-20 11:13:08 -03:00
committed by Mateo Miccino
parent aee36ec01b
commit c933eb7acc
4 changed files with 4 additions and 4 deletions

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;