1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Assert that dictionary.h does not include String, and that neither of the fundamental containers include Object.

This commit is contained in:
Lukas Tenbrink
2025-10-06 23:00:33 +02:00
parent c01c7b800d
commit 839e0358b3
3 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,7 @@
#include "array.h"
STATIC_ASSERT_INCOMPLETE_TYPE(class, Dictionary);
STATIC_ASSERT_INCOMPLETE_TYPE(class, Object);
STATIC_ASSERT_INCOMPLETE_TYPE(class, String);
#include "container_type_validate.h"