From 74da2751f804bc667b3e03294e8afd6d27b94c3f Mon Sep 17 00:00:00 2001 From: sc Date: Tue, 28 Nov 2000 14:02:19 +0000 Subject: Incorporation into IvyLeague Ccu -> Ivl ccu -> ivl Smart pointers disappear (too dangerous) Imakefile disappears (perhaps temporarily) --- utils/Allocator.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'utils/Allocator.h') 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 CcuAllocatorOf : public CcuAllocator { +template 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 -- cgit v1.1