Skip to content

Commit

Permalink
Remove hash_value overload for basic_string_view; it's no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Nov 11, 2024
1 parent ed452c5 commit 92f6cfb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/boost/core/detail/string_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@ namespace boost
// forward declaration of boost::basic_string_view from Utility
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 detail
Expand Down Expand Up @@ -1181,11 +1178,6 @@ template<class Ch> class basic_string_view
}

#endif

inline friend std::size_t hash_value( basic_string_view const& sv )
{
return boost::hash_range( sv.begin(), sv.end() );
}
};

// stream inserter
Expand Down

0 comments on commit 92f6cfb

Please sign in to comment.