فهرست منبع

[GDNative] fixed a bug with ambiguous include paths

fixes #10071. The problem is that the json.h file includes the
local variant.h instead of the "absolute" core/variant.h
Karroffel 8 سال پیش
والد
کامیت
ab3b1e67c7
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      modules/gdnative/godot/dictionary.cpp

+ 2 - 1
modules/gdnative/godot/dictionary.cpp

@@ -29,9 +29,10 @@
 /*************************************************************************/
 #include <godot/dictionary.h>
 
+#include "core/variant.h"
+
 #include "core/dictionary.h"
 #include "core/io/json.h"
-#include "core/variant.h"
 
 #ifdef __cplusplus
 extern "C" {