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
This commit is contained in:
+6
-4
@@ -6379,10 +6379,12 @@ class basic_json
|
||||
{
|
||||
switch (lhs_type)
|
||||
{
|
||||
// case value_t::array:
|
||||
// {
|
||||
// return *lhs.m_value.array < *rhs.m_value.array;
|
||||
// }
|
||||
case value_t::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:
|
||||
{
|
||||
return *lhs.m_value.object < *rhs.m_value.object;
|
||||
|
||||
Reference in New Issue
Block a user