1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +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:
Lukas Tenbrink
2025-06-16 12:15:23 +02:00
parent caefb0f1c1
commit 712bc99668
4 changed files with 26 additions and 0 deletions

View File

@@ -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"