Skip to content

Commit 0df7134

Browse files
committed
Merge pull request godotengine#116539 from Ivorforce/remember-your-ancestors
Include some headers explicitly in some important spots, to estimate include costs better.
2 parents 342109e + e75aa9e commit 0df7134

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

core/object/ref_counted.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#pragma once
3232

3333
#include "core/object/class_db.h"
34+
#include "core/object/object.h"
3435
#include "core/templates/safe_refcount.h"
3536

3637
class RefCounted : public Object {

core/variant/variant.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#pragma once
3232

3333
#include "core/core_string_names.h"
34+
#include "core/error/error_macros.h"
3435
#include "core/io/ip_address.h"
3536
#include "core/math/aabb.h"
3637
#include "core/math/basis.h"
@@ -53,9 +54,11 @@
5354
#include "core/string/node_path.h"
5455
#include "core/string/ustring.h"
5556
#include "core/templates/bit_field.h"
57+
#include "core/templates/hashfuncs.h"
5658
#include "core/templates/list.h"
5759
#include "core/templates/paged_allocator.h"
5860
#include "core/templates/rid.h"
61+
#include "core/typedefs.h"
5962
#include "core/variant/array.h"
6063
#include "core/variant/callable.h"
6164
#include "core/variant/dictionary.h"

editor/plugins/editor_plugin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "editor/inspector/editor_context_menu_plugin.h"
3535
#include "scene/3d/camera_3d.h"
3636
#include "scene/gui/control.h"
37+
#include "scene/main/node.h"
3738

3839
class Node3D;
3940
class Button;

scene/main/node.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#pragma once
3232

3333
#include "core/input/input_event.h"
34+
#include "core/object/object.h"
3435
#include "core/object/ref_counted.h"
3536
#include "core/string/node_path.h"
3637
#include "core/templates/iterable.h"

0 commit comments

Comments
 (0)