You've already forked godot
							
							
				mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 12:00:25 +00:00 
			
		
		
		
	Remove Array include from dictionary.h and ustring.h.
				
					
				
			This commit is contained in:
		@@ -36,6 +36,8 @@
 | 
			
		||||
#include "core/templates/hash_map.h"
 | 
			
		||||
#include "core/templates/local_vector.h"
 | 
			
		||||
 | 
			
		||||
class Array;
 | 
			
		||||
 | 
			
		||||
// Note: In most situations, compatibility methods should be registered via ClassDB::bind_compatibility_method().
 | 
			
		||||
//       This class is only meant to be used in exceptional circumstances, for example, when Godot's hashing
 | 
			
		||||
//       algorithm changes and registering compatibility methods for all affect methods would be onerous.
 | 
			
		||||
 
 | 
			
		||||
@@ -33,6 +33,8 @@
 | 
			
		||||
#include "core/string/string_name.h"
 | 
			
		||||
#include "core/string/ustring.h"
 | 
			
		||||
 | 
			
		||||
#include <climits>
 | 
			
		||||
 | 
			
		||||
class [[nodiscard]] NodePath {
 | 
			
		||||
	struct Data {
 | 
			
		||||
		SafeRefCount refcount;
 | 
			
		||||
 
 | 
			
		||||
@@ -31,6 +31,7 @@
 | 
			
		||||
#include "ustring.h"
 | 
			
		||||
 | 
			
		||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, Dictionary);
 | 
			
		||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, Array);
 | 
			
		||||
 | 
			
		||||
#include "core/crypto/crypto_core.h"
 | 
			
		||||
#include "core/math/color.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -37,7 +37,6 @@
 | 
			
		||||
#include "core/templates/hashfuncs.h"
 | 
			
		||||
#include "core/templates/vector.h"
 | 
			
		||||
#include "core/typedefs.h"
 | 
			
		||||
#include "core/variant/array.h"
 | 
			
		||||
 | 
			
		||||
class String;
 | 
			
		||||
template <typename T>
 | 
			
		||||
 
 | 
			
		||||
@@ -33,6 +33,7 @@
 | 
			
		||||
#include "core/object/object_id.h"
 | 
			
		||||
#include "core/string/string_name.h"
 | 
			
		||||
 | 
			
		||||
class Array;
 | 
			
		||||
class Object;
 | 
			
		||||
class Variant;
 | 
			
		||||
class CallableCustom;
 | 
			
		||||
 
 | 
			
		||||
@@ -30,6 +30,8 @@
 | 
			
		||||
 | 
			
		||||
#include "dictionary.h"
 | 
			
		||||
 | 
			
		||||
STATIC_ASSERT_INCOMPLETE_TYPE(class, Array);
 | 
			
		||||
 | 
			
		||||
#include "core/templates/hash_map.h"
 | 
			
		||||
#include "core/templates/safe_refcount.h"
 | 
			
		||||
#include "core/variant/container_type_validate.h"
 | 
			
		||||
 
 | 
			
		||||
@@ -30,15 +30,14 @@
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include "core/string/ustring.h"
 | 
			
		||||
#include "core/templates/hash_map.h"
 | 
			
		||||
#include "core/templates/local_vector.h"
 | 
			
		||||
#include "core/templates/pair.h"
 | 
			
		||||
#include "core/variant/array.h"
 | 
			
		||||
#include "core/variant/variant_deep_duplicate.h"
 | 
			
		||||
 | 
			
		||||
class Array;
 | 
			
		||||
class StringName;
 | 
			
		||||
class Variant;
 | 
			
		||||
 | 
			
		||||
struct ContainerType;
 | 
			
		||||
struct ContainerTypeValidate;
 | 
			
		||||
struct DictionaryPrivate;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user