summaryrefslogtreecommitdiffstats
path: root/include/core/Godot.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/Godot.hpp')
-rw-r--r--include/core/Godot.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/Godot.hpp b/include/core/Godot.hpp
index 45aca16..90a73aa 100644
--- a/include/core/Godot.hpp
+++ b/include/core/Godot.hpp
@@ -60,7 +60,7 @@ template<class T>
struct _ArgCast {
static T _arg_cast(Variant a)
{
- return static_cast<T>(a);
+ return a;
}
};