(svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user