diff --git a/src/json.hpp b/src/json.hpp index c66b45f0..88123d58 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -8089,8 +8089,8 @@ class basic_json iter_impl& operator=(iter_impl other) noexcept( std::is_nothrow_move_constructible::value and std::is_nothrow_move_assignable::value and - std::is_nothrow_move_constructible::value and - std::is_nothrow_move_assignable::value + std::is_nothrow_move_constructible::value and + std::is_nothrow_move_assignable::value ) { std::swap(m_object, other.m_object); @@ -8107,8 +8107,8 @@ class basic_json iter_impl& operator=(iter_impl other) noexcept( std::is_nothrow_move_constructible::value and std::is_nothrow_move_assignable::value and - std::is_nothrow_move_constructible::value and - std::is_nothrow_move_assignable::value + std::is_nothrow_move_constructible::value and + std::is_nothrow_move_assignable::value ) { std::swap(m_object, other.m_object); @@ -8601,7 +8601,7 @@ class basic_json /// associated JSON instance pointer m_object = nullptr; /// the actual iterator of the associated instance - internal_iterator m_it = internal_iterator(); + struct internal_iterator m_it = internal_iterator(); }; /*!