Include some headers explicitly in some important spots, to estimate include costs better.

This commit is contained in:
Lukas Tenbrink 2026-02-20 15:20:06 +01:00
parent be587f3a2d
commit e75aa9ed86
4 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,7 @@
#pragma once
#include "core/object/class_db.h"
#include "core/object/object.h"
#include "core/templates/safe_refcount.h"
class RefCounted : public Object {

View file

@ -31,6 +31,7 @@
#pragma once
#include "core/core_string_names.h"
#include "core/error/error_macros.h"
#include "core/io/ip_address.h"
#include "core/math/aabb.h"
#include "core/math/basis.h"
@ -53,9 +54,11 @@
#include "core/string/node_path.h"
#include "core/string/ustring.h"
#include "core/templates/bit_field.h"
#include "core/templates/hashfuncs.h"
#include "core/templates/list.h"
#include "core/templates/paged_allocator.h"
#include "core/templates/rid.h"
#include "core/typedefs.h"
#include "core/variant/array.h"
#include "core/variant/callable.h"
#include "core/variant/dictionary.h"

View file

@ -34,6 +34,7 @@
#include "editor/inspector/editor_context_menu_plugin.h"
#include "scene/3d/camera_3d.h"
#include "scene/gui/control.h"
#include "scene/main/node.h"
class Node3D;
class Button;

View file

@ -31,6 +31,7 @@
#pragma once
#include "core/input/input_event.h"
#include "core/object/object.h"
#include "core/object/ref_counted.h"
#include "core/string/node_path.h"
#include "core/templates/iterable.h"