mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 00:42:45 +01:00
Codechange: remove ZeroedMemoryAllocator from NWidgetBase
This commit is contained in:
@@ -1908,12 +1908,9 @@ int SmallMapWindow::map_height_limit = -1;
|
||||
* The bar should have a minimal size with a zero-size legends display. Child padding is not supported.
|
||||
*/
|
||||
class NWidgetSmallmapDisplay : public NWidgetContainer {
|
||||
const SmallMapWindow *smallmap_window; ///< Window manager instance.
|
||||
const SmallMapWindow *smallmap_window = nullptr; ///< Window manager instance.
|
||||
public:
|
||||
NWidgetSmallmapDisplay() : NWidgetContainer(NWID_VERTICAL)
|
||||
{
|
||||
this->smallmap_window = nullptr;
|
||||
}
|
||||
NWidgetSmallmapDisplay() : NWidgetContainer(NWID_VERTICAL) {}
|
||||
|
||||
void SetupSmallestSize(Window *w) override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user