Browse Source

fixed forward decl

Nickolai Korshunov 7 years ago
parent
commit
a049a34f28
1 changed files with 1 additions and 2 deletions
  1. 1 2
      include/core/Ref.hpp

+ 1 - 2
include/core/Ref.hpp

@@ -3,10 +3,9 @@
 
 
 #include "Variant.hpp"
 #include "Variant.hpp"
 #include "GodotGlobal.hpp"
 #include "GodotGlobal.hpp"
+#include "../Reference.hpp"
 
 
 namespace godot {
 namespace godot {
-class Reference;
-class Object;
 
 
 // Replicates Godot's Ref<T> behavior
 // Replicates Godot's Ref<T> behavior
 // Rewritten from f5234e70be7dec4930c2d5a0e829ff480d044b1d.
 // Rewritten from f5234e70be7dec4930c2d5a0e829ff480d044b1d.