Fix clang warning -Wdouble-promotion (#741)

This commit is contained in:
Roelf-Jilling 2018-11-14 22:30:21 +01:00
parent 137367bbd7
commit f810ce74f3

View File

@ -193,7 +193,7 @@ TEST_CASE("TestNotNullostream")
{ {
ostream_helper<int>(17); ostream_helper<int>(17);
ostream_helper<float>(21.5f); ostream_helper<float>(21.5f);
ostream_helper<double>(3.4566e-7f); ostream_helper<double>(3.4566e-7);
ostream_helper<char>('c'); ostream_helper<char>('c');
ostream_helper<uint16_t>(0x0123u); ostream_helper<uint16_t>(0x0123u);
ostream_helper<const char*>("cstring"); ostream_helper<const char*>("cstring");