X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgame%2Fpool.h;h=2b8e799d158b17e12bcb9f3c277f81bb553fa918;hb=bdcd6a6268dec57ad352e30d86734b28a885a017;hp=16801f4d48aead654cb53eb57ccff70d84f377b0;hpb=248d62f7240d342982ade65a510be912b867fe49;p=libs%2Fgame.git diff --git a/source/game/pool.h b/source/game/pool.h index 16801f4..2b8e799 100644 --- a/source/game/pool.h +++ b/source/game/pool.h @@ -1,5 +1,5 @@ -#ifndef MSP_GAME_STORAGE_H_ -#define MSP_GAME_STORAGE_H_ +#ifndef MSP_GAME_POOL_H_ +#define MSP_GAME_POOL_H_ #include #include @@ -72,6 +72,7 @@ private: void add_block(); public: + std::uint32_t get_capacity() const { return capacity; } void destroy(void *); };