From dd983a4f4762eae2a4588d1113f64ecb7b27c20c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 7 May 2023 15:54:30 +0300 Subject: [PATCH] Make the destructor of PoolBase virtual --- source/game/pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/pool.h b/source/game/pool.h index d64e9f8..fd383fc 100644 --- a/source/game/pool.h +++ b/source/game/pool.h @@ -56,7 +56,7 @@ private: protected: PoolBase(std::uint32_t, DeleteFunc); public: - ~PoolBase(); + virtual ~PoolBase(); protected: void destroy_all(); -- 2.45.2