]> git.tdb.fi Git - libs/game.git/commitdiff
Make the destructor of PoolBase virtual
authorMikko Rasa <tdb@tdb.fi>
Sun, 7 May 2023 12:54:30 +0000 (15:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 7 May 2023 12:55:54 +0000 (15:55 +0300)
source/game/pool.h

index d64e9f867d71a9fff1ee4cb0890af1736ab868f9..fd383fc06040494d39cf060c57e5cc1a847068c9 100644 (file)
@@ -56,7 +56,7 @@ private:
 protected:
        PoolBase(std::uint32_t, DeleteFunc);
 public:
-       ~PoolBase();
+       virtual ~PoolBase();
 
 protected:
        void destroy_all();