From 3fe276c02f25a3d1a6b65429d20f2fda2892de7d Mon Sep 17 00:00:00 2001 From: kb1000 Date: Sun, 23 May 2021 16:28:11 +0200 Subject: [PATCH] Stop including iostream in Variant.hpp (to produce smaller binaries) --- include/core/Godot.hpp | 2 ++ include/core/Variant.hpp | 1 - src/core/Variant.cpp | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index bf52d7bb..56549842 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -17,6 +17,8 @@ #include "GodotGlobal.hpp" +#include + namespace godot { namespace detail { diff --git a/include/core/Variant.hpp b/include/core/Variant.hpp index 872a5a48..35ca4343 100644 --- a/include/core/Variant.hpp +++ b/include/core/Variant.hpp @@ -20,7 +20,6 @@ #include "Vector2.hpp" #include "Vector3.hpp" -#include namespace godot { diff --git a/src/core/Variant.cpp b/src/core/Variant.cpp index 9e3927f7..b5700c3d 100644 --- a/src/core/Variant.cpp +++ b/src/core/Variant.cpp @@ -7,7 +7,6 @@ #include "GodotGlobal.hpp" #include "Object.hpp" -#include namespace godot {