mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
Remove hash_value overload for basic_string_view; it's no longer needed
This commit is contained in:
parent
ed452c57a3
commit
92f6cfb3cc
@ -41,9 +41,6 @@ namespace boost
|
|||||||
// forward declaration of boost::basic_string_view from Utility
|
// forward declaration of boost::basic_string_view from Utility
|
||||||
template<class Ch, class Tr> class basic_string_view;
|
template<class Ch, class Tr> class basic_string_view;
|
||||||
|
|
||||||
// forward declaration of boost::hash_range from ContainerHash
|
|
||||||
template<class It> std::size_t hash_range( It, It );
|
|
||||||
|
|
||||||
namespace core
|
namespace core
|
||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
@ -1181,11 +1178,6 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline friend std::size_t hash_value( basic_string_view const& sv )
|
|
||||||
{
|
|
||||||
return boost::hash_range( sv.begin(), sv.end() );
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// stream inserter
|
// stream inserter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user