Browse Source

Fix GDCLASS needs explicit ClassDB fwd declaration

Rackoon 2 years ago
parent
commit
72d537fd95
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/godot_cpp/classes/wrapped.hpp

+ 2 - 0
include/godot_cpp/classes/wrapped.hpp

@@ -41,6 +41,8 @@
 
 
 namespace godot {
 namespace godot {
 
 
+class ClassDB;
+
 typedef void GodotObject;
 typedef void GodotObject;
 
 
 // Base for all engine classes, to contain the pointer to the engine instance.
 // Base for all engine classes, to contain the pointer to the engine instance.