Skip to content

Commit 930013f

Browse files
committed
Use ADL to look up body wrapper in client example.
1 parent 685810c commit 930013f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/network/example/http/hello_world_client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ main(int argc, char *argv[]) {
3535
/*<< Gets a response from the HTTP server. >>*/
3636
http::client::response response = client.get(request);
3737
/*<< Prints the response body to the console. >>*/
38-
std::cout << boost::network::body(response) << std::endl;
38+
std::cout << body(response) << std::endl;
3939
}
4040
catch (std::exception &e) {
4141
std::cerr << e.what() << std::endl;

0 commit comments

Comments
 (0)