]> granicus.if.org Git - icinga2/commitdiff
Remove the macro argument for IMPL_TYPE_LOOKUP
authorGunnar Beutner <gunnar@beutner.name>
Thu, 5 Mar 2015 06:42:13 +0000 (07:42 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Thu, 5 Mar 2015 06:42:13 +0000 (07:42 +0100)
fixes #8599

lib/base/object.hpp

index f026ce4c9fc4ea3102ce2e74bfbbd635f0286d74..59d093fa4dc3c717023a4b1597099b4600110a6a 100644 (file)
@@ -51,7 +51,7 @@ class String;
 #define DECLARE_PTR_TYPEDEFS(klass) \
        typedef intrusive_ptr<klass> Ptr
 
-#define IMPL_TYPE_LOOKUP(klass)                                        \
+#define IMPL_TYPE_LOOKUP()                                             \
        static intrusive_ptr<Type> TypeInstance;                        \
        virtual intrusive_ptr<Type> 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<typename T>
 intrusive_ptr<Object> DefaultObjectFactory(void)