summaryrefslogtreecommitdiff
path: root/src/core/pool_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/pool_type.hpp')
-rw-r--r--src/core/pool_type.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/pool_type.hpp b/src/core/pool_type.hpp
index 131b5cef7..f19e44479 100644
--- a/src/core/pool_type.hpp
+++ b/src/core/pool_type.hpp
@@ -59,6 +59,13 @@ struct PoolBase {
* Virtual method that deletes all items in the pool.
*/
virtual void CleanPool() = 0;
+
+private:
+ /**
+ * Dummy private copy constructor to prevent compilers from
+ * copying the structure, which fails due to GetPools().
+ */
+ PoolBase(const PoolBase &other);
};
/**