diff options
Diffstat (limited to 'BlockFactory.h')
| -rw-r--r-- | BlockFactory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/BlockFactory.h b/BlockFactory.h index a122dd6..a8d2046 100644 --- a/BlockFactory.h +++ b/BlockFactory.h @@ -5,6 +5,7 @@ class BlockFactory
{
uint32_t poolSize;
+ uint32_t blocksCreated;
vector<Block*> pool;
public:
@@ -13,6 +14,7 @@ public: Block* allocateBlock( );
void deleteBlock( Block* );
uint32_t getPoolSize(){ return poolSize; }
+ uint32_t getBlocksCreated(){ return blocksCreated; }
};
|
