diff --git a/httplib.h b/httplib.h index 3972e38..e2d75fe 100644 --- a/httplib.h +++ b/httplib.h @@ -6822,7 +6822,7 @@ inline bool parse_www_authenticate(const Response &res, static_cast(m.length(2))) : s.substr(static_cast(m.position(3)), static_cast(m.length(3))); - auth[key] = val; + auth[std::move(key)] = std::move(val); } return true; }