diff options
author | Ramesh Ravone <ramesh.maran443@gmail.com> | 2017-10-03 08:29:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 08:29:08 +0000 |
commit | 286d2aff030bc69bb82482b3daeffa2e5629a3ac (patch) | |
tree | ac614ff3e7ed89c981b55ae05ce6c5c2bcf37bf5 | |
parent | e32d7bb1b9d2f8cbd3b0ea8e6237841ca978e7da (diff) | |
download | redot-cpp-286d2aff030bc69bb82482b3daeffa2e5629a3ac.tar.gz |
Fix `_arg_cast`
This has been an issue from the day one,
A lot of people mentioned this on discord too
-rw-r--r-- | include/core/Godot.hpp | 2 |
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; } }; |