From 790e7ca9e9b075f9156f86045e26313c5d7825b1 Mon Sep 17 00:00:00 2001 From: HenryLee Date: Tue, 30 May 2017 20:27:05 +1000 Subject: [PATCH] Add struct keyword in front of internal_iterator --- src/json.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(); }; /*!