From af4c4397dff5672da42f93e80426a855135b3e28 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sun, 20 Aug 2017 14:28:22 +0200 Subject: Fixes Ref's GetTypeInfo missing with ptrcall disabled --- core/reference.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/reference.h') diff --git a/core/reference.h b/core/reference.h index 7f48f8323e..69250a4701 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 -- cgit v1.2.3