In unord.hash/floating.pass.cpp, add a static_cast to fix a truncation warning.
Fixes MSVC warning C4305 "'argument': truncation from 'double' to 'const std::hash<float>::_Kty'".
Differential D21093
[libcxx] [test] In unord.hash/floating.pass.cpp, add a static_cast to fix a truncation warning. STL_MSFT on Jun 7 2016, 12:21 PM. Authored by
Details
In unord.hash/floating.pass.cpp, add a static_cast to fix a truncation warning. Fixes MSVC warning C4305 "'argument': truncation from 'double' to 'const std::hash<float>::_Kty'".
Diff Detail |