1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

🔨 remove noexcept annotation

This commit is contained in:
Niels Lohmann
2021-07-15 21:49:09 +02:00
parent ecaac22656
commit 3e4723a49f
2 changed files with 2 additions and 2 deletions

View File

@ -1131,7 +1131,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
binary = create<binary_t>(std::move(value)); binary = create<binary_t>(std::move(value));
} }
void destroy(value_t t) noexcept void destroy(value_t t)
{ {
if (t == value_t::array || t == value_t::object) if (t == value_t::array || t == value_t::object)
{ {

View File

@ -18191,7 +18191,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
binary = create<binary_t>(std::move(value)); binary = create<binary_t>(std::move(value));
} }
void destroy(value_t t) noexcept void destroy(value_t t)
{ {
if (t == value_t::array || t == value_t::object) if (t == value_t::array || t == value_t::object)
{ {