Cleanup: remove unused optional ctor parameter for NetworkGameList

This commit is contained in:
Patric Stout
2021-05-08 10:57:10 +02:00
committed by Patric Stout
parent 6212d0a8da
commit de7ab2eb1c

View File

@@ -16,10 +16,7 @@
/** Structure with information shown in the game list (GUI) */
struct NetworkGameList {
NetworkGameList(const std::string &connection_string, bool manually = false) :
connection_string(connection_string), manually(manually)
{
}
NetworkGameList(const std::string &connection_string) : connection_string(connection_string) {}
NetworkGameInfo info = {}; ///< The game information of this server
std::string connection_string; ///< Address of the server