We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99b9eb3 commit 8f5831fCopy full SHA for 8f5831f
boost/network/uri/decode.hpp
@@ -59,9 +59,9 @@ OutputIterator decode(const InputIterator &in_begin,
59
OutputIterator out = out_begin;
60
while (it != in_end) {
61
if (*it == '%') {
62
- if (++it == in_end) throw std::out_of_range("out_of_range exception");
+ if (++it == in_end) throw std::out_of_range("unexpected end of stream");
63
value_type v0 = detail::letter_to_hex(*it);
64
65
value_type v1 = detail::letter_to_hex(*it);
66
++it;
67
*out++ = 0x10 * v0 + v1;
0 commit comments