We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a41e4 commit 12b57f9Copy full SHA for 12b57f9
libs/network/example/simple_wget.cpp
@@ -53,7 +53,7 @@ main(int argc, char *argv[]) {
53
std::string filename = get_filename(uri);
54
std::cout << "Saving to: " << filename << std::endl;
55
std::ofstream ofs(filename.c_str());
56
- ofs << static_cast<std::string>(boost::network::body(response)) << std::endl;
+ ofs << static_cast<std::string>(body(response)) << std::endl;
57
}
58
catch (std::exception &e) {
59
std::cerr << e.what() << std::endl;
0 commit comments