diff --git a/CHANGELOG.md b/CHANGELOG.md index 58b22dae..e305b354 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Version 98: + +* basic_fields::key_compare is noexcept + +-------------------------------------------------------------------------------- + +Version 97: + +* Update redirect + +-------------------------------------------------------------------------------- + Version 96: * Move bench/ to test/ @@ -9,7 +21,6 @@ Version 96: * Add bench-zlib * Faster zlib tests * Less compression on websocket test -* Update redirect -------------------------------------------------------------------------------- diff --git a/include/boost/beast/http/fields.hpp b/include/boost/beast/http/fields.hpp index 50a62888..927ec049 100644 --- a/include/boost/beast/http/fields.hpp +++ b/include/boost/beast/http/fields.hpp @@ -113,7 +113,9 @@ public: /// Returns `true` if lhs is less than rhs using a strict ordering template bool - operator()(String const& lhs, value_type const& rhs) const + operator()( + String const& lhs, + value_type const& rhs) const noexcept { if(lhs.size() < rhs.name_string().size()) return true; @@ -125,7 +127,9 @@ public: /// Returns `true` if lhs is less than rhs using a strict ordering template bool - operator()(value_type const& lhs, String const& rhs) const + operator()( + value_type const& lhs, + String const& rhs) const noexcept { if(lhs.name_string().size() < rhs.size()) return true; @@ -136,7 +140,9 @@ public: /// Returns `true` if lhs is less than rhs using a strict ordering bool - operator()(value_type const& lhs, value_type const& rhs) const + operator()( + value_type const& lhs, + value_type const& rhs) const noexcept { if(lhs.name_string().size() < rhs.name_string().size()) return true;