mirror of
https://github.com/boostorg/container_hash.git
synced 2026-03-06 14:04:08 +01:00
Fix signed conversion warnings.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace test
|
||||
|
||||
std::size_t hash() const
|
||||
{
|
||||
return value_ * 10;
|
||||
return static_cast<std::size_t>(value_ * 10);
|
||||
}
|
||||
|
||||
#if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP)
|
||||
|
||||
Reference in New Issue
Block a user