Fix `_arg_cast`

This has been an issue from the day one,

A lot of people mentioned this on discord too
pull/39/head
Ramesh Ravone 2017-10-03 08:29:08 +00:00 committed by GitHub
parent e32d7bb1b9
commit 286d2aff03
1 changed files with 1 additions and 1 deletions

View File

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