|
@@ -4986,7 +4986,7 @@ inline bool parse_www_authenticate(const Response &res,
|
|
|
s = s.substr(pos + 1);
|
|
s = s.substr(pos + 1);
|
|
|
auto beg = std::sregex_iterator(s.begin(), s.end(), re);
|
|
auto beg = std::sregex_iterator(s.begin(), s.end(), re);
|
|
|
for (auto i = beg; i != std::sregex_iterator(); ++i) {
|
|
for (auto i = beg; i != std::sregex_iterator(); ++i) {
|
|
|
- auto m = *i;
|
|
|
|
|
|
|
+ const auto &m = *i;
|
|
|
auto key = s.substr(static_cast<size_t>(m.position(1)),
|
|
auto key = s.substr(static_cast<size_t>(m.position(1)),
|
|
|
static_cast<size_t>(m.length(1)));
|
|
static_cast<size_t>(m.length(1)));
|
|
|
auto val = m.length(2) > 0
|
|
auto val = m.length(2) > 0
|