Merge pull request #10481 from neikeq/water-store-remark

Fixes Ref's GetTypeInfo missing with ptrcall disabled
This commit is contained in:
Rémi Verschelde 2017-08-20 16:34:38 +02:00 committed by GitHub
commit f6c39830cb

View file

@ -374,6 +374,10 @@ struct PtrToArg<const RefPtr &> {
}
};
#endif // PTRCALL_ENABLED
#ifdef DEBUG_METHODS_ENABLED
template <class T>
struct GetTypeInfo<Ref<T> > {
enum { VARIANT_TYPE = Variant::OBJECT };
@ -392,5 +396,6 @@ struct GetTypeInfo<const Ref<T> &> {
}
};
#endif
#endif // DEBUG_METHODS_ENABLED
#endif // REFERENCE_H