mirror of
https://github.com/boostorg/container_hash.git
synced 2025-08-05 23:44:40 +02:00
Fix hash_is_avalanching_test2 for libc++ 16 and later
This commit is contained in:
@@ -44,7 +44,11 @@ int main()
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 160000
|
||||||
|
// std::char_traits<Ch> is deprecated for non-char types
|
||||||
|
#else
|
||||||
BOOST_TEST_TRAIT_FALSE(( hash_is_avalanching< boost::hash<std::basic_string_view<my_char> > > ));
|
BOOST_TEST_TRAIT_FALSE(( hash_is_avalanching< boost::hash<std::basic_string_view<my_char> > > ));
|
||||||
|
#endif
|
||||||
|
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user