Fix _arg_cast

This has been an issue from the day one,

A lot of people mentioned this on discord too
This commit is contained in:
Ramesh Ravone 2017-10-03 08:29:08 +00:00 committed by GitHub
parent e32d7bb1b9
commit 286d2aff03

View File

@ -60,7 +60,7 @@ template<class T>
struct _ArgCast { struct _ArgCast {
static T _arg_cast(Variant a) static T _arg_cast(Variant a)
{ {
return static_cast<T>(a); return a;
} }
}; };