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,8 @@
|
|||
|
||||
#include "ustring.h"
|
||||
|
||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, Dictionary);
|
||||
|
||||
#include "core/crypto/crypto_core.h"
|
||||
#include "core/math/color.h"
|
||||
#include "core/math/math_funcs.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue