Skip to content

Commit 32c6970

Browse files
committed
Small fix to compile simple_wget with updated URI code.
1 parent 9b16957 commit 32c6970

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

libs/network/example/simple_wget.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ namespace uri = boost::network::uri;
2626

2727

2828
namespace {
29-
std::string get_filename(const uri::http::uri &url) {
29+
template <
30+
class Tag
31+
>
32+
std::string get_filename(const uri::http::basic_uri<Tag> &url) {
3033
std::string path = uri::path(url);
3134
std::size_t index = path.find_last_of('/');
3235
std::string filename = path.substr(index + 1);

0 commit comments

Comments
 (0)