summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-01-27 23:46:37 +0100
committerGitHub <noreply@github.com>2022-01-27 23:46:37 +0100
commite6caaf4c800912517af783e90519cc2a70001e85 (patch)
treecf0198ec094369e934e5c43d99cfd9196b9a0b74 /core/io
parent46053a1be9cc1bc4957280cc76602aead421884c (diff)
parent051ef479c93c0c830b60059e3dabed6fc381cdd6 (diff)
Merge pull request #57205 from TechnoPorg/variant-template-cast
Allow method binds to take Object subclasses as arguments
Diffstat (limited to 'core/io')
-rw-r--r--core/io/resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/resource.h b/core/io/resource.h
index a0800c57cb..dea2160616 100644
--- a/core/io/resource.h
+++ b/core/io/resource.h
@@ -37,6 +37,8 @@
#include "core/templates/safe_refcount.h"
#include "core/templates/self_list.h"
+class Node;
+
#define RES_BASE_EXTENSION(m_ext) \
public: \
static void register_custom_data_to_otdb() { ClassDB::add_resource_base_extension(m_ext, get_class_static()); } \