Fix Visual Studio 2017 warnings
This commit is contained in:
parent
af99090742
commit
917d9d8bc3
4 changed files with 16 additions and 4 deletions
|
|
@ -242,7 +242,7 @@ TEST_CASE("constructors")
|
|||
|
||||
SECTION("std::pair")
|
||||
{
|
||||
std::pair<float, std::string> p{1.0, "string"};
|
||||
std::pair<float, std::string> p{1.0f, "string"};
|
||||
json j(p);
|
||||
|
||||
CHECK(j.type() == json::value_t::array);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue