diff options
Diffstat (limited to 'utils/Allocator.h')
-rw-r--r-- | utils/Allocator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/Allocator.h b/utils/Allocator.h index 33939f7..a93fdfb 100644 --- a/utils/Allocator.h +++ b/utils/Allocator.h @@ -18,7 +18,7 @@ #include "cplus_bugs.h" -class CcuAllocator { +class IvlAllocator { private: static void MemoryOverflow (); @@ -29,17 +29,17 @@ static void MemoryOverflow (); void* AllocNext; /* room left in the last chunk */ public: - CcuAllocator (unsigned int); - ~CcuAllocator (); + IvlAllocator (unsigned int); + ~IvlAllocator (); void* Alloc (); void Free (void*); }; #ifndef CPLUS_BUG19 -template <class OBJECT> class CcuAllocatorOf : public CcuAllocator { +template <class OBJECT> class IvlAllocatorOf : public IvlAllocator { public: -inline CcuAllocatorOf () : CcuAllocator (sizeof (OBJECT)) {} -inline OBJECT* Alloc () { return (OBJECT*) CcuAllocator::Alloc (); } +inline IvlAllocatorOf () : IvlAllocator (sizeof (OBJECT)) {} +inline OBJECT* Alloc () { return (OBJECT*) IvlAllocator::Alloc (); } }; #endif |