2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-19 04:42:15 +00:00

refactor(string_view_base): remove hash_value

Since 92f6cfb3cc in Boost.Core, we have been getting "error: use of undeclared identifier 'hash_value'" because hash_value is not part of the interface of core::string_view.

hash_value has been removed from core::string_view because it's redundant. Boost containers don't need it and it does not enable std containers.
This commit is contained in:
alandefreitas
2024-11-11 16:49:35 -03:00
committed by Alan de Freitas
parent 91f81f8a8d
commit 428ea43f40

View File

@@ -857,16 +857,6 @@ public:
//--------------------------------------------
/** Return the hash of this value
*/
friend
std::size_t
hash_value(
string_view_base const& s) noexcept
{
return hash_value(s.s_);
}
/** Format a string to an output stream
*/
BOOST_URL_DECL