From f2b2ef4ebe3b754dca10be0850a0c112413acbe5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 28 Nov 2022 01:04:09 +0200 Subject: [PATCH] Avoid warning 4100 under early MSVC --- include/boost/container_hash/hash.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 10eb18a..6700b1e 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -503,9 +503,9 @@ namespace boost template typename boost::enable_if_::value, std::size_t>::type - hash_value( T const& v ) + hash_value( T const& /*v*/ ) { - return boost::hash_value( static_cast( v ) ); + return boost::hash_value( static_cast( nullptr ) ); } #endif