Skip to content

Commit

Permalink
🐛 fixed the issue with GCC7 #590
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Jun 4, 2017
1 parent d19c5ce commit 1a9d766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6381,7 +6381,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 1a9d766

Please sign in to comment.