Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit12b57f9

Browse files
committed
Fixing simple_wget example to use ADL for the body wrapper.
1 parent25a41e4 commit12b57f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libs/network/example/simple_wget.cpp

Lines changed: 1 addition & 1 deletion
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::ofstreamofs(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)

[8]ページ先頭

©2009-2025 Movatter.jp