瀏覽代碼

Stop including iostream in Variant.hpp (to produce smaller binaries)

kb1000 4 年之前
父節點
當前提交
3fe276c02f
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 2 0
      include/core/Godot.hpp
  2. 0 1
      include/core/Variant.hpp
  3. 0 1
      src/core/Variant.cpp

+ 2 - 0
include/core/Godot.hpp

@@ -17,6 +17,8 @@
 
 #include "GodotGlobal.hpp"
 
+#include <type_traits>
+
 namespace godot {
 namespace detail {
 

+ 0 - 1
include/core/Variant.hpp

@@ -20,7 +20,6 @@
 #include "Vector2.hpp"
 #include "Vector3.hpp"
 
-#include <iostream>
 
 namespace godot {
 

+ 0 - 1
src/core/Variant.cpp

@@ -7,7 +7,6 @@
 #include "GodotGlobal.hpp"
 #include "Object.hpp"
 
-#include <iostream>
 
 namespace godot {