Merge pull request #2707 from raduteo/patch-2

Update json.hpp
This commit is contained in:
Niels Lohmann authored and GitHub committed 2021-04-23 09:48:38 +02:00
commit 9774e53cd6
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -1256,9 +1256,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
})); }));
} }
JSON_CATCH(...) {} // LCOV_EXCL_LINE JSON_CATCH(...) {} // LCOV_EXCL_LINE
#else
static_cast<void>(check_parents);
#endif #endif
static_cast<void>(check_parents);
} }
void set_parents() void set_parents()
+1 -2
View File
@@ -18145,9 +18145,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
})); }));
} }
JSON_CATCH(...) {} // LCOV_EXCL_LINE JSON_CATCH(...) {} // LCOV_EXCL_LINE
#else
static_cast<void>(check_parents);
#endif #endif
static_cast<void>(check_parents);
} }
void set_parents() void set_parents()