Skip to content

Commit 12b57f9

Browse files
committed
Fixing simple_wget example to use ADL for the body wrapper.
1 parent 25a41e4 commit 12b57f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/network/example/simple_wget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ main(int argc, char *argv[]) {
5353
std::string filename = get_filename(uri);
5454
std::cout << "Saving to: " << filename << std::endl;
5555
std::ofstream ofs(filename.c_str());
56-
ofs << static_cast<std::string>(boost::network::body(response)) << std::endl;
56+
ofs << static_cast<std::string>(body(response)) << std::endl;
5757
}
5858
catch (std::exception &e) {
5959
std::cerr << e.what() << std::endl;

0 commit comments

Comments
 (0)