mirror of
https://codeberg.org/wownero/onion-wownero-blockchain-explorer-themefork.git
synced 2026-10-17 05:41:27 +02:00
modify json.hpp to compile with recent gcc
https://github.com/nlohmann/json/issues/606
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user