modify json.hpp to compile with recent gcc

master
moneroexamples 8 years ago
parent 6dfcee5743
commit edc7b05966

@ -6379,10 +6379,12 @@ class basic_json
{ {
switch (lhs_type) switch (lhs_type)
{ {
// case value_t::array: case value_t::array:
// { {
//return *lhs.m_value.array < *rhs.m_value.array; //return *lhs.m_value.array < *rhs.m_value.array;
// } return *lhs.m_value.array.operator<(lhs, rhs);
// return nlohmann::detail::operator<(lhs, rhs);
}
case value_t::object: case value_t::object:
{ {
return *lhs.m_value.object < *rhs.m_value.object; return *lhs.m_value.object < *rhs.m_value.object;

Loading…
Cancel
Save