Wohoo, Ref<>s are now working

This commit is contained in:
Karroffel
2017-06-21 02:14:54 +02:00
parent 38f1ee741d
commit e1f3865467
3 changed files with 13 additions and 8 deletions

View File

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