]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/pool.h
Add reflection infrastructure
[libs/game.git] / source / game / pool.h
index 16801f4d48aead654cb53eb57ccff70d84f377b0..2b8e799d158b17e12bcb9f3c277f81bb553fa918 100644 (file)
@@ -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 <cstdint>
 #include <memory>
@@ -72,6 +72,7 @@ private:
        void add_block();
 
 public:
+       std::uint32_t get_capacity() const { return capacity; }
        void destroy(void *);
 };