use brace'd initializer

This commit is contained in:
Edo 2023-04-10 10:20:48 +02:00 committed by GitHub
parent 27c197e95e
commit 481e892351

View File

@ -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)