mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
Add struct keyword in front of internal_iterator
This commit is contained in:
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();
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Reference in New Issue
Block a user