1
0
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:
Niels Lohmann
2020-05-05 12:40:04 +02:00
parent 908941b87d
commit 6dee8866a8
2 changed files with 2 additions and 2 deletions

View File

@ -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;