mirror of
https://github.com/nlohmann/json.git
synced 2026-03-25 18:32:46 +00:00
👌 remove unnecessary assignment from destructor
This commit is contained in:
@@ -2288,9 +2288,6 @@ class basic_json
|
||||
{
|
||||
assert_invariant();
|
||||
m_value.destroy(m_type);
|
||||
#if JSON_DIAGNOSTICS
|
||||
m_parent = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
||||
Reference in New Issue
Block a user