From ebb3c03293771f52509fc217d75c6bef46baca4c Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sun, 9 Sep 2018 18:19:33 +0200 Subject: [PATCH] :art: cleanup after #1228 --- include/nlohmann/detail/conversions/from_json.hpp | 4 ++-- single_include/nlohmann/json.hpp | 4 ++-- test/src/unit-inspection.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp index f5f8199c..2375d066 100644 --- a/include/nlohmann/detail/conversions/from_json.hpp +++ b/include/nlohmann/detail/conversions/from_json.hpp @@ -218,8 +218,8 @@ template decltype(from_json_array_impl(j, arr, priority_tag<3> {}), - j.template get(), - void()) +j.template get(), +void()) { if (JSON_UNLIKELY(not j.is_array())) { diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 96e469ee..24780ae4 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -1232,8 +1232,8 @@ template decltype(from_json_array_impl(j, arr, priority_tag<3> {}), - j.template get(), - void()) +j.template get(), +void()) { if (JSON_UNLIKELY(not j.is_array())) { diff --git a/test/src/unit-inspection.cpp b/test/src/unit-inspection.cpp index a8be566f..8e42c6ec 100644 --- a/test/src/unit-inspection.cpp +++ b/test/src/unit-inspection.cpp @@ -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();