forked from boostorg/container_hash
Avoid -Wconversion warnings in unordered & hash.
[SVN r67170]
This commit is contained in:
1 parent
a2e947588d
commit
482f038837
5 files changed
+11
-6
No files matched your search
@@ -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