mirror of
https://github.com/nlohmann/json.git
synced 2026-02-25 21:06:26 +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
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
||||
@@ -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