From 33e3956b13822c15593dafd34ed321e167838c3e Mon Sep 17 00:00:00 2001 From: cirdan Date: Tue, 8 Dec 2015 21:04:41 +0100 Subject: [PATCH] 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) --- src/window_gui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window_gui.h b/src/window_gui.h index 44cecfc48d..ab096a0d00 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -165,7 +165,7 @@ struct HotkeyList; /** * 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, WindowClass window_class, WindowClass parent_class, uint32 flags,