make from_json SFINAE-correct

This commit is contained in:
Théo DELRIEU committed 2018-09-07 14:10:37 +02:00
1 parent f7971f04a5
commit 4b4bbceebf
4 files changed
+16 -56

No files matched your search

+2 -2
View File
@@ -317,8 +317,8 @@ TEST_CASE("object inspection")
SECTION("round trips")
{
for (const auto& s :
{"3.141592653589793", "1000000000000000010E5"
})
{"3.141592653589793", "1000000000000000010E5"
})
{
json j1 = json::parse(s);
std::string s1 = j1.dump();