Tidy up resolver calls

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:15:27 -07:00
1 parent a4a4121444
commit 0a4f964811
8 files changed
+8 -9

No files matched your search

@@ -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);