summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-05-08 10:57:10 +0200
committerPatric Stout <github@truebrain.nl>2021-07-10 20:17:07 +0200
commitde7ab2eb1c8bd5695a3ffa4390b9fd46d34d9d71 (patch)
tree83335984f9a61b7246227c1ef933153985a5e56b
parent6212d0a8da81f0f348bf4dcb03e332b3ef661a60 (diff)
downloadopenttd-de7ab2eb1c8bd5695a3ffa4390b9fd46d34d9d71.tar.xz
Cleanup: remove unused optional ctor parameter for NetworkGameList
-rw-r--r--src/network/network_gamelist.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/network/network_gamelist.h b/src/network/network_gamelist.h
index 7fdd37c66..9a98207d9 100644
--- a/src/network/network_gamelist.h
+++ b/src/network/network_gamelist.h
@@ -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