(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

@@ -197,6 +197,13 @@ struct WindowDesc : ZeroedMemoryAllocator {
static void LoadFromConfig();
static void SaveToConfig();
private:
/**
* Dummy private copy constructor to prevent compilers from
* copying the structure, which fails due to _window_descs.
*/
WindowDesc(const WindowDesc &other);
};
/**