Browse Source

Fix GDCLASS needs explicit ClassDB fwd declaration

Rackoon 2 năm trước cách đây
mục cha
commit
72d537fd95
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      include/godot_cpp/classes/wrapped.hpp

+ 2 - 0
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.