Skip to content

Commit

Permalink
Make decode_chars for a string view a bit more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
jimporter committed Aug 11, 2024
1 parent 96033cd commit b82c9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bencode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ namespace bencode {
throw end_of_input_error();
}

std::string_view value(&*begin, len);
String value(&*begin, len);
std::advance(begin, len);
return value;
}
Expand Down

0 comments on commit b82c9c4

Please sign in to comment.