Merge branch 'develop' of https://github.com/nlohmann/json into develop
This commit is contained in:
commit
be4fba7baf
11 changed files with 393 additions and 175 deletions
|
|
@ -247,7 +247,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