Skip to content

Commit 92f6cfb

Browse files
committed
Remove hash_value overload for basic_string_view; it's no longer needed
1 parent ed452c5 commit 92f6cfb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/boost/core/detail/string_view.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ namespace boost
4141
// forward declaration of boost::basic_string_view from Utility
4242
template<class Ch, class Tr> class basic_string_view;
4343

44-
// forward declaration of boost::hash_range from ContainerHash
45-
template<class It> std::size_t hash_range( It, It );
46-
4744
namespace core
4845
{
4946
namespace detail
@@ -1181,11 +1178,6 @@ template<class Ch> class basic_string_view
11811178
}
11821179

11831180
#endif
1184-
1185-
inline friend std::size_t hash_value( basic_string_view const& sv )
1186-
{
1187-
return boost::hash_range( sv.begin(), sv.end() );
1188-
}
11891181
};
11901182

11911183
// stream inserter

0 commit comments

Comments
 (0)