diff --git a/lib/filesystem/AdapterLoaders.cpp b/lib/filesystem/AdapterLoaders.cpp index 361bcf6c6..4a9e18614 100644 --- a/lib/filesystem/AdapterLoaders.cpp +++ b/lib/filesystem/AdapterLoaders.cpp @@ -156,9 +156,7 @@ std::vector CFilesystemList::getResourcesWithName std::vector 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; } diff --git a/lib/serializer/Connection.cpp b/lib/serializer/Connection.cpp index bce54123f..40bb302a9 100644 --- a/lib/serializer/Connection.cpp +++ b/lib/serializer/Connection.cpp @@ -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(*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());