mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 00:08:20 +00:00
Removed redundant lexical_cast which was there for historical reasons.
This commit is contained in:
parent
c894369e45
commit
e24b2809f1
@ -1125,7 +1125,7 @@ namespace {
|
||||
preferences::set_campaign_server(remote_address);
|
||||
|
||||
try {
|
||||
network_asio::connection connection(remote_host, lexical_cast<std::string>(remote_port));
|
||||
network_asio::connection connection(remote_host, remote_port);
|
||||
gui2::tnetwork_transmission network_connect(connection, _("Requesting list of add-ons"), _("Connecting..."));
|
||||
bool result = network_connect.show(disp.video());
|
||||
if(!result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user