Add struct keyword in front of internal_iterator
This commit is contained in:
parent
ce39330ff8
commit
790e7ca9e9
1 changed files with 5 additions and 5 deletions
10
src/json.hpp
10
src/json.hpp
|
@ -8089,8 +8089,8 @@ class basic_json
|
||||||
iter_impl& operator=(iter_impl<basic_json> other) noexcept(
|
iter_impl& operator=(iter_impl<basic_json> other) noexcept(
|
||||||
std::is_nothrow_move_constructible<pointer>::value and
|
std::is_nothrow_move_constructible<pointer>::value and
|
||||||
std::is_nothrow_move_assignable<pointer>::value and
|
std::is_nothrow_move_assignable<pointer>::value and
|
||||||
std::is_nothrow_move_constructible<internal_iterator>::value and
|
std::is_nothrow_move_constructible<struct internal_iterator>::value and
|
||||||
std::is_nothrow_move_assignable<internal_iterator>::value
|
std::is_nothrow_move_assignable<struct internal_iterator>::value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
std::swap(m_object, other.m_object);
|
std::swap(m_object, other.m_object);
|
||||||
|
@ -8107,8 +8107,8 @@ class basic_json
|
||||||
iter_impl<const basic_json>& operator=(iter_impl<const basic_json> other) noexcept(
|
iter_impl<const basic_json>& operator=(iter_impl<const basic_json> other) noexcept(
|
||||||
std::is_nothrow_move_constructible<pointer>::value and
|
std::is_nothrow_move_constructible<pointer>::value and
|
||||||
std::is_nothrow_move_assignable<pointer>::value and
|
std::is_nothrow_move_assignable<pointer>::value and
|
||||||
std::is_nothrow_move_constructible<internal_iterator>::value and
|
std::is_nothrow_move_constructible<struct internal_iterator>::value and
|
||||||
std::is_nothrow_move_assignable<internal_iterator>::value
|
std::is_nothrow_move_assignable<struct internal_iterator>::value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
std::swap(m_object, other.m_object);
|
std::swap(m_object, other.m_object);
|
||||||
|
@ -8601,7 +8601,7 @@ class basic_json
|
||||||
/// associated JSON instance
|
/// associated JSON instance
|
||||||
pointer m_object = nullptr;
|
pointer m_object = nullptr;
|
||||||
/// the actual iterator of the associated instance
|
/// the actual iterator of the associated instance
|
||||||
internal_iterator m_it = internal_iterator();
|
struct internal_iterator m_it = internal_iterator();
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in a new issue