Skip to content

Commit

Permalink
modify json.hpp to compile with recent gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
moneroexamples committed Jun 5, 2017
1 parent edc7b05 commit bea1665
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6382,7 +6382,8 @@ class basic_json
case value_t::array:
{
//return *lhs.m_value.array < *rhs.m_value.array;
return *lhs.m_value.array.operator<(lhs, rhs);
//return *lhs.m_value.array.operator<(rhs);
return (*lhs.m_value.array) < *rhs.m_value.array;
// return nlohmann::detail::operator<(lhs, rhs);
}
case value_t::object:
Expand Down

0 comments on commit bea1665

Please sign in to comment.