From e8dbd7be86e3dbbacd9c8cd4dd8c7a2340217d91 Mon Sep 17 00:00:00 2001 From: raduteo <57729561+raduteo@users.noreply.github.com> Date: Fri, 9 Apr 2021 09:35:58 -0400 Subject: [PATCH] Update json.hpp Proposed fix for #2706 --- single_include/nlohmann/json.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 4493dd654..7ef4befb2 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -18145,9 +18145,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec })); } JSON_CATCH(...) {} // LCOV_EXCL_LINE -#else - static_cast(check_parents); #endif + static_cast(check_parents); } void set_parents()