diff --git a/core/reference.h b/core/reference.h index 7f48f8323eb..69250a47014 100644 --- a/core/reference.h +++ b/core/reference.h @@ -374,6 +374,10 @@ struct PtrToArg { } }; +#endif // PTRCALL_ENABLED + +#ifdef DEBUG_METHODS_ENABLED + template struct GetTypeInfo > { enum { VARIANT_TYPE = Variant::OBJECT }; @@ -392,5 +396,6 @@ struct GetTypeInfo &> { } }; -#endif +#endif // DEBUG_METHODS_ENABLED + #endif // REFERENCE_H