mirror of
https://github.com/nlohmann/json.git
synced 2025-07-22 15:21:52 +03: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
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
@ -18924,9 +18924,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