From 72d537fd95aaac524fe8edb1d34e55468e0a3799 Mon Sep 17 00:00:00 2001 From: Rackoon <32634987+WildRackoon@users.noreply.github.com> Date: Fri, 16 Dec 2022 13:49:10 +0100 Subject: [PATCH] Fix GDCLASS needs explicit ClassDB fwd declaration --- include/godot_cpp/classes/wrapped.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/godot_cpp/classes/wrapped.hpp b/include/godot_cpp/classes/wrapped.hpp index 1d15f6d..29f48bb 100644 --- a/include/godot_cpp/classes/wrapped.hpp +++ b/include/godot_cpp/classes/wrapped.hpp @@ -41,6 +41,8 @@ namespace godot { +class ClassDB; + typedef void GodotObject; // Base for all engine classes, to contain the pointer to the engine instance.