Fix `_arg_cast`
This has been an issue from the day one, A lot of people mentioned this on discord toopull/39/head
parent
e32d7bb1b9
commit
286d2aff03
|
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue