1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-21 04:22:05 +03:00

👌 remove unnecessary assignment from destructor

This commit is contained in:
Niels Lohmann
2021-01-08 11:09:58 +01:00
parent 7cdf34b21e
commit ddc3bb1992
2 changed files with 0 additions and 6 deletions

View File

@ -2288,9 +2288,6 @@ class basic_json
{
assert_invariant();
m_value.destroy(m_type);
#if JSON_DIAGNOSTICS
m_parent = nullptr;
#endif
}
/// @}