(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors.

This commit is contained in:
frosch
2013-06-15 15:06:22 +00:00
parent bb308c5e30
commit 18ae9c78bc
3 changed files with 15 additions and 0 deletions

View File

@@ -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);
};
/**