You've already forked godot
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:
committed by
Mateo Miccino
parent
aee36ec01b
commit
c933eb7acc
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user