From b6ca6a2d8ed64c500840c8ce3d3c962fb340a36b Mon Sep 17 00:00:00 2001 From: Karroffel Date: Mon, 19 Jun 2017 12:05:38 +0200 Subject: [PATCH] fixed ArgCast again --- include/core/Godot.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp index 260c226c..5e0829d9 100644 --- a/include/core/Godot.hpp +++ b/include/core/Godot.hpp @@ -78,6 +78,14 @@ struct _ArgCast { } }; +template<> +struct _ArgCast { + static Variant _arg_cast(Variant a) + { + return a; + } +}; +