mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Add STATIC_ASSERT_INCOMPLETE_TYPE to enforce include minimality.
Add enforcements against `Dictionary` for `ustring.h` and two for `Dictionary` and `String` from `array.h`.
This commit is contained in:
parent
caefb0f1c1
commit
712bc99668
4 changed files with 26 additions and 0 deletions
|
|
@ -30,6 +30,9 @@
|
|||
|
||||
#include "array.h"
|
||||
|
||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, Dictionary);
|
||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, String);
|
||||
|
||||
#include "container_type_validate.h"
|
||||
#include "core/math/math_funcs.h"
|
||||
#include "core/object/script_language.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue