diff --git a/CMakeLists.txt b/CMakeLists.txt index 35b9989..5fc33a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,6 @@ target_include_directories(boost_utility INTERFACE include) target_link_libraries(boost_utility INTERFACE Boost::config - Boost::container_hash Boost::core Boost::io Boost::preprocessor diff --git a/include/boost/utility/string_view.hpp b/include/boost/utility/string_view.hpp index 35471fb..2db87f1 100644 --- a/include/boost/utility/string_view.hpp +++ b/include/boost/utility/string_view.hpp @@ -23,7 +23,6 @@ #include #include #include -#include #include #include @@ -652,6 +651,9 @@ namespace boost { } #endif + // Forward declaration of Boost.ContainerHash function + template std::size_t hash_range(It, It); + template std::size_t hash_value(basic_string_view s) { return boost::hash_range(s.begin(), s.end());