Avoid warning 4100 under early MSVC

This commit is contained in:
Peter Dimov
2022-11-28 01:04:09 +02:00
parent fe28cdbd1f
commit f2b2ef4ebe

View File

@@ -503,9 +503,9 @@ namespace boost
template <typename T>
typename boost::enable_if_<boost::is_same<T, std::nullptr_t>::value, std::size_t>::type
hash_value( T const& v )
hash_value( T const& /*v*/ )
{
return boost::hash_value( static_cast<void*>( v ) );
return boost::hash_value( static_cast<void*>( nullptr ) );
}
#endif