forked from boostorg/beast
More std::string_view fixes
This commit is contained in:
1 parent
00603397a9
commit
71de05d3cc
5 files changed
+17
-8
No files matched your search
@@ -154,8 +154,12 @@ find_eol(
|
||||
|
||||
bool
|
||||
basic_parser_base::
|
||||
parse_dec(char const* it, char const* last, std::uint64_t& v)
|
||||
parse_dec(
|
||||
string_view s,
|
||||
std::uint64_t& v)
|
||||
{
|
||||
char const* it = s.data();
|
||||
char const* last = it + s.size();
|
||||
if(it == last)
|
||||
return false;
|
||||
std::uint64_t tmp = 0;
|
||||
|
||||
Reference in new issue
Block a user