diff options
author | Marc Laukien <marc@zeroc.com> | 2005-03-06 20:09:43 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2005-03-06 20:09:43 +0000 |
commit | def61b8d87e0a189ac60e3f724974791f14ef714 (patch) | |
tree | 635582b93bd10aa805cd0615a26f59b92b0f3456 /cpp/include/IceUtil/MemoryPool.h | |
parent | Fixed deadly Sun CC 5.5 bug (diff) | |
download | ice-def61b8d87e0a189ac60e3f724974791f14ef714.tar.bz2 ice-def61b8d87e0a189ac60e3f724974791f14ef714.tar.xz ice-def61b8d87e0a189ac60e3f724974791f14ef714.zip |
removed MemoryPool.cpp
Diffstat (limited to 'cpp/include/IceUtil/MemoryPool.h')
-rwxr-xr-x | cpp/include/IceUtil/MemoryPool.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/cpp/include/IceUtil/MemoryPool.h b/cpp/include/IceUtil/MemoryPool.h deleted file mode 100755 index e820b9fefc7..00000000000 --- a/cpp/include/IceUtil/MemoryPool.h +++ /dev/null @@ -1,56 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** -
-#ifndef UTIL_MEMORY_POOL_H
-#define UTIL_MEMORY_POOL_H
-
-#include <IceUtil/Mutex.h>
-
-namespace IceUtil
-{
-
-class ICE_UTIL_API SimpleMemoryPool
-{
-public:
-
- SimpleMemoryPool(const char*, int);
-
- void* operatorNew(size_t);
- void operatorDelete(void*);
-
- static void usePool(bool);
- static void traceLevel(int);
-
-protected:
-
- static bool _usePool;
-
-private:
-
- const char* _name;
- const int _num;
-
- void* _pool;
-
- static int _traceLevel;
-};
-
-class ICE_UTIL_API MemoryPool : public SimpleMemoryPool, IceUtil::Mutex
-{
-public:
-
- MemoryPool(const char*, int);
-
- void* operatorNew(size_t);
- void operatorDelete(void*);
-};
-
-}
-
-#endif
|