mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
modify json.hpp to compile with recent gcc
https://github.com/nlohmann/json/issues/606
This commit is contained in:
parent
edc7b05966
commit
bea1665ac9
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue