forked from qt-creator/qt-creator
C++: Remove unused RecursiveMemoryPool
Change-Id: I7009df49f79d8f895c5344f7be3558f7f3d35143 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
16
src/libs/3rdparty/cplusplus/MemoryPool.h
vendored
16
src/libs/3rdparty/cplusplus/MemoryPool.h
vendored
@@ -27,7 +27,6 @@
|
||||
namespace CPlusPlus {
|
||||
|
||||
class MemoryPool;
|
||||
class RecursiveMemoryPool;
|
||||
|
||||
class CPLUSPLUS_EXPORT MemoryPool
|
||||
{
|
||||
@@ -66,20 +65,6 @@ private:
|
||||
BLOCK_SIZE = 8 * 1024,
|
||||
DEFAULT_BLOCK_COUNT = 8
|
||||
};
|
||||
|
||||
friend class RecursiveMemoryPool;
|
||||
};
|
||||
|
||||
class CPLUSPLUS_EXPORT RecursiveMemoryPool
|
||||
{
|
||||
MemoryPool *_pool;
|
||||
int _blockCount;
|
||||
char *_ptr;
|
||||
char *_end;
|
||||
|
||||
public:
|
||||
RecursiveMemoryPool(MemoryPool *pool);
|
||||
~RecursiveMemoryPool();
|
||||
};
|
||||
|
||||
class CPLUSPLUS_EXPORT Managed
|
||||
@@ -98,5 +83,4 @@ public:
|
||||
|
||||
} // namespace CPlusPlus
|
||||
|
||||
|
||||
#endif // CPLUSPLUS_MEMORYPOOL_H
|
||||
|
||||
Reference in New Issue
Block a user