From: Mikko Rasa Date: Sun, 7 May 2023 12:54:30 +0000 (+0300) Subject: Make the destructor of PoolBase virtual X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=dd983a4f4762eae2a4588d1113f64ecb7b27c20c;p=libs%2Fgame.git Make the destructor of PoolBase virtual --- 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();