👌 remove unnecessary assignment from destructor

This commit is contained in:
Niels Lohmann 2021-01-08 11:09:58 +01:00
parent 7cdf34b21e
commit ddc3bb1992
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
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
}
/// @}

View File

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