better Variant casting
parent
ac630353cf
commit
1c5eeee512
|
@ -66,7 +66,7 @@ template<class T>
|
|||
struct _ArgCast {
|
||||
static T _arg_cast(Variant a)
|
||||
{
|
||||
return (T) a;
|
||||
return a.operator T();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue