| 10 | { |
| 11 | public: |
| 12 | ObjectPool(size_t pool_size = 512): kPoolSize(pool_size) { pool_.reserve(kPoolSize); } |
| 13 | virtual ~ObjectPool() { for (auto obj : pool_) Destroy(obj); } |
| 14 | |
| 15 | void *Pop() |
nothing calls this directly
no outgoing calls
no test coverage detected