From 4b15ec777441b3d061e52e54effbf119870ba166 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 5 Mar 2015 07:42:13 +0100 Subject: [PATCH] Remove the macro argument for IMPL_TYPE_LOOKUP fixes #8599 --- lib/base/object.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/base/object.hpp b/lib/base/object.hpp index f026ce4c9..59d093fa4 100644 --- a/lib/base/object.hpp +++ b/lib/base/object.hpp @@ -51,7 +51,7 @@ class String; #define DECLARE_PTR_TYPEDEFS(klass) \ typedef intrusive_ptr Ptr -#define IMPL_TYPE_LOOKUP(klass) \ +#define IMPL_TYPE_LOOKUP() \ static intrusive_ptr TypeInstance; \ virtual intrusive_ptr GetReflectionType(void) const \ { \ @@ -60,7 +60,7 @@ class String; #define DECLARE_OBJECT(klass) \ DECLARE_PTR_TYPEDEFS(klass); \ - IMPL_TYPE_LOOKUP(klass); + IMPL_TYPE_LOOKUP(); template intrusive_ptr DefaultObjectFactory(void)