diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2017-10-03 11:11:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 11:11:18 +0200 |
commit | def39f4862f8d2340db45d3a41903b59e37e3eda (patch) | |
tree | ac614ff3e7ed89c981b55ae05ce6c5c2bcf37bf5 | |
parent | e32d7bb1b9d2f8cbd3b0ea8e6237841ca978e7da (diff) | |
parent | 286d2aff030bc69bb82482b3daeffa2e5629a3ac (diff) | |
download | redot-cpp-def39f4862f8d2340db45d3a41903b59e37e3eda.tar.gz |
Merge pull request #39 from RameshRavone/patch-2
Fix `_arg_cast`
-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; } }; |