mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
Mark jwt_set::case_compare and std::hash<jwt::string_view> noexcept
This commit is contained in:
parent
6c22d941a0
commit
735d77cdcf
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue