mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
🐛 fix binary comparison
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user