From 481e892351abc73b98d9a34570184e6c2e6bf4a5 Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 10 Apr 2023 10:20:48 +0200 Subject: [PATCH] use brace'd initializer --- src/client/component/game_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/component/game_settings.cpp b/src/client/component/game_settings.cpp index 85680f6e..0572f0b8 100644 --- a/src/client/component/game_settings.cpp +++ b/src/client/component/game_settings.cpp @@ -20,7 +20,7 @@ namespace gamesettings return sub_strings[sub_strings.size() - 2] + '/' + sub_strings[sub_strings.size() - 1]; } - return std::string(); + return {}; } std::string get_game_settings_path(const std::string& name)