Remove ZeroedMemoryAllocator from WindowDesc
All fields are initialised in the constructor, plus no WindowDesc is ever constructed via operator new. (cherry picked from commit 94750756bfbf8ab5ca36e6a38f6f7b556ca31b32)
This commit is contained in:

committed by
Jonathan G Rennison

parent
349cd8a6f0
commit
33e3956b13
@@ -165,7 +165,7 @@ struct HotkeyList;
|
|||||||
/**
|
/**
|
||||||
* High level window description
|
* High level window description
|
||||||
*/
|
*/
|
||||||
struct WindowDesc : ZeroedMemoryAllocator {
|
struct WindowDesc {
|
||||||
|
|
||||||
WindowDesc(WindowPosition default_pos, const char *ini_key, int16 def_width_trad, int16 def_height_trad,
|
WindowDesc(WindowPosition default_pos, const char *ini_key, int16 def_width_trad, int16 def_height_trad,
|
||||||
WindowClass window_class, WindowClass parent_class, uint32 flags,
|
WindowClass window_class, WindowClass parent_class, uint32 flags,
|
||||||
|
Reference in New Issue
Block a user