Skip to content

Commit

Permalink
Fix gcc7 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
facchinm committed Jan 17, 2018
1 parent eb4c7e8 commit 18d90cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5890,7 +5890,7 @@ class basic_json
{
case value_t::array:
{
return *lhs.m_value.array == *rhs.m_value.array;
return (*lhs.m_value.array) == *rhs.m_value.array;
}
case value_t::object:
{
Expand Down Expand Up @@ -6054,7 +6054,7 @@ class basic_json
{
case value_t::array:
{
return *lhs.m_value.array < *rhs.m_value.array;
return (*lhs.m_value.array) < *rhs.m_value.array;
}
case value_t::object:
{
Expand Down

0 comments on commit 18d90cb

Please sign in to comment.