mirror of
https://github.com/boostorg/container_hash.git
synced 2026-02-26 16:42:19 +00:00
Merge hash from trunk.
- Avoid `-Wconversion` warnings. [SVN r67664]
This commit is contained in:
@@ -113,7 +113,8 @@ void poor_quality_tests(T*)
|
||||
if(T(1) != T(2))
|
||||
BOOST_TEST(x1(T(1)) != x2(T(2)));
|
||||
if((limits::max)() != (limits::max)() - 1)
|
||||
BOOST_TEST(x1((limits::max)()) != x2((limits::max)() - 1));
|
||||
BOOST_TEST(x1(static_cast<T>((limits::max)()))
|
||||
!= x2(static_cast<T>((limits::max)() - 1)));
|
||||
}
|
||||
|
||||
void bool_test()
|
||||
|
||||
Reference in New Issue
Block a user