🚨 fix warning

This commit is contained in:
Niels Lohmann 2021-03-23 13:15:06 +01:00
parent fc38454a22
commit 5306eef150
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 2 additions and 2 deletions

View File

@ -1254,7 +1254,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
return j.m_parent == this;
}));
}
catch (..) {}
catch (...) {}
#else
static_cast<void>(check_parents);
#endif

View File

@ -18067,7 +18067,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
return j.m_parent == this;
}));
}
catch (..) {}
catch (...) {}
#else
static_cast<void>(check_parents);
#endif