From 55ab4264dc3f42a4588de0cf52e8f0f88e4fd90e Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 18 Aug 2017 07:44:42 +0200 Subject: Modernize various files * range-based for loops * emplace_back instead of push_back * code style * C++ headers instead of C headers * Default operators * empty stl function --- src/guiMainMenu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/guiMainMenu.h') diff --git a/src/guiMainMenu.h b/src/guiMainMenu.h index 0bc5c7be1..43a3b1a33 100644 --- a/src/guiMainMenu.h +++ b/src/guiMainMenu.h @@ -26,7 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., struct MainMenuDataForScript { - MainMenuDataForScript() {} + MainMenuDataForScript() = default; // Whether the server has requested a reconnect bool reconnect_requested = false; @@ -51,5 +51,5 @@ struct MainMenuData { // Data to be passed to the script MainMenuDataForScript script_data; - MainMenuData() {} + MainMenuData() = default; }; -- cgit v1.2.3