Mark jwt_set::case_compare and std::hash<jwt::string_view> noexcept

This commit is contained in:
Dennis Hezel 2022-05-13 19:21:04 +02:00
parent 6c22d941a0
commit 735d77cdcf
2 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@ struct jwt_set
{
using is_transparent = std::true_type;
bool operator()(const jwt::string_view lhs, const jwt::string_view rhs) const
bool operator()(const jwt::string_view lhs, const jwt::string_view rhs) const noexcept
{
int ret = lhs.compare(rhs);
return (ret < 0);