Merge remote-tracking branch 'origin/develop' into HEAD

This commit is contained in:
Niels Lohmann
2026-09-14 21:26:24 +02:00
14 changed files with 927 additions and 8 deletions
+5
View File
@@ -3876,6 +3876,11 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec
std::swap(m_data.m_type, other.m_data.m_type);
std::swap(m_data.m_value, other.m_data.m_value);
#if JSON_DIAGNOSTIC_POSITIONS
std::swap(start_position, other.start_position);
std::swap(end_position, other.end_position);
#endif
set_parents();
other.set_parents();
assert_invariant();