Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
fix for gcc bug: nlohmann/json#590 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihaveamac committed Sep 4, 2017
1 parent dd6e7a7 commit b91c7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/json.hpp
Original file line number Diff line number Diff line change
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 b91c7b4

Please sign in to comment.