Change when we can ERR_FAIL_COND and ERR_FAIL_CONV_V to static_assert
This commit is contained in:
parent
aee36ec01b
commit
c933eb7acc
4 changed files with 4 additions and 4 deletions
|
|
@ -100,7 +100,7 @@ extern void unregister_variant_methods();
|
|||
void register_core_types() {
|
||||
|
||||
//consistency check
|
||||
ERR_FAIL_COND(sizeof(Callable) > 16);
|
||||
static_assert(sizeof(Callable) <= 16);
|
||||
|
||||
ObjectDB::setup();
|
||||
ResourceCache::setup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue