Tidy up resolver calls

This commit is contained in:
Vinnie Falco
2017-07-20 08:15:27 -07:00
parent a4a4121444
commit 0a4f964811
8 changed files with 8 additions and 9 deletions
@@ -34,7 +34,7 @@ int main()
// Look up the domain name
std::string const host = "echo.websocket.org";
auto const lookup = r.resolve(boost::asio::ip::tcp::resolver::query{host, "http"}, ec);
auto const lookup = r.resolve({host, "http"}, ec);
if(ec)
return fail("resolve", ec);