:ok_hand: remove unnecessary assignment from destructor

parent 7cdf34b2
...@@ -2288,9 +2288,6 @@ class basic_json ...@@ -2288,9 +2288,6 @@ class basic_json
{ {
assert_invariant(); assert_invariant();
m_value.destroy(m_type); m_value.destroy(m_type);
#if JSON_DIAGNOSTICS
m_parent = nullptr;
#endif
} }
/// @} /// @}
......
...@@ -18924,9 +18924,6 @@ class basic_json ...@@ -18924,9 +18924,6 @@ class basic_json
{ {
assert_invariant(); assert_invariant();
m_value.destroy(m_type); m_value.destroy(m_type);
#if JSON_DIAGNOSTICS
m_parent = nullptr;
#endif
} }
/// @} /// @}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment