瀏覽代碼

Merge pull request #965 from WildRackoon/fix-GDCLASS-fwddeclaration

Fix GDCLASS needs explicit ClassDB fwd declaration
Rémi Verschelde 2 年之前
父節點
當前提交
04731d2b78
共有 1 個文件被更改,包括 2 次插入0 次删除
  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.