mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
remove no longer needed adjustments
This commit is contained in:
parent
5b50d69db1
commit
35e1b86683
@ -156,9 +156,7 @@ std::vector<const ISimpleResourceLoader *> CFilesystemList::getResourcesWithName
|
||||
std::vector<const ISimpleResourceLoader *> ret;
|
||||
|
||||
for (auto & loader : loaders)
|
||||
// todo ios
|
||||
if (loader)
|
||||
boost::range::copy(loader->getResourcesWithName(resourceName), std::back_inserter(ret));
|
||||
boost::range::copy(loader->getResourcesWithName(resourceName), std::back_inserter(ret));
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -73,8 +73,7 @@ CConnection::CConnection(std::string host, ui16 port, std::string Name, std::str
|
||||
boost::system::error_code error = asio::error::host_not_found;
|
||||
socket = std::make_shared<tcp::socket>(*io_service);
|
||||
tcp::resolver resolver(*io_service);
|
||||
// todo ios: is new param really needed?
|
||||
tcp::resolver::iterator end, pom, endpoint_iterator = resolver.resolve(tcp::resolver::query(host, std::to_string(port), resolver_query_base::numeric_service), error);
|
||||
tcp::resolver::iterator end, pom, endpoint_iterator = resolver.resolve(tcp::resolver::query(host, std::to_string(port)),error);
|
||||
if(error)
|
||||
{
|
||||
logNetwork->error("Problem with resolving: \n%s", error.message());
|
||||
|
Loading…
Reference in New Issue
Block a user