diff options
Diffstat (limited to 'utils/metaclass.h')
-rw-r--r-- | utils/metaclass.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/utils/metaclass.h b/utils/metaclass.h index b036603..df896d6 100644 --- a/utils/metaclass.h +++ b/utils/metaclass.h @@ -13,7 +13,6 @@ * $CurLog$ */ - #ifndef _MetaClass_H_ #define _MetaClass_H_ @@ -22,7 +21,7 @@ class MetaClass { protected: const char* Name; - CcuListOf <MetaClass> BaseClasses; + IvlListOf <MetaClass> BaseClasses; public: MetaClass (const char*, MetaClass&); @@ -43,7 +42,6 @@ inline int operator != (const MetaClass& c) const { return (this != &c); } inline const MetaClass& operator = (const MetaClass&) const { return *this; } }; - #ifdef __GNUG__ #define _nameCLASS(a) #a #else @@ -76,7 +74,6 @@ name :: Class () const \ return CLASS; \ } - #define NarrowMembers(derived,base) \ static inline derived* Narrow (base* p) { if (p && p->Class () <= CLASS) return (derived*) p; else return 0; } \ static inline const derived* Narrow (const base* p) { if (p && p->Class () <= CLASS) return (const derived*) p; else return 0; } \ |