From 1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 8 Feb 2024 22:35:09 +0100 Subject: C++11: Use default member initializers This patch is not exhaustive. --- src/gui/minimap.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gui/minimap.cpp') diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp index 388a032a..7d6cc618 100644 --- a/src/gui/minimap.cpp +++ b/src/gui/minimap.cpp @@ -42,11 +42,7 @@ bool Minimap::mShow = true; Minimap::Minimap(): - Window(_("Map")), - mMap(nullptr), - mMapImage(nullptr), - mWidthProportion(0.5), - mHeightProportion(0.5) + Window(_("Map")) { setWindowName("Minimap"); mShow = config.getValue(getWindowName() + "Show", true); -- cgit v1.2.3-70-g09d2