🐛 fix binary comparison
This commit is contained in:
parent
908941b87d
commit
6dee8866a8
2 changed files with 2 additions and 2 deletions
|
@ -6310,7 +6310,7 @@ class basic_json
|
|||
return (lhs.m_value.number_float) < (rhs.m_value.number_float);
|
||||
|
||||
case value_t::binary:
|
||||
return (lhs.m_value.binary) < (rhs.m_value.binary);
|
||||
return (*lhs.m_value.binary) < (*rhs.m_value.binary);
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
|
|
@ -21817,7 +21817,7 @@ class basic_json
|
|||
return (lhs.m_value.number_float) < (rhs.m_value.number_float);
|
||||
|
||||
case value_t::binary:
|
||||
return (lhs.m_value.binary) < (rhs.m_value.binary);
|
||||
return (*lhs.m_value.binary) < (*rhs.m_value.binary);
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue