1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

💄 cleanup

This commit is contained in:
Niels Lohmann
2018-06-18 22:03:46 +02:00
parent 1c81e9f5ae
commit e7c1638d11

View File

@ -82,7 +82,8 @@ class alt_string
return str_impl != op; return str_impl != op;
} }
bool operator!=(const alt_string& op) const { bool operator!=(const alt_string& op) const
{
return str_impl != op.str_impl; return str_impl != op.str_impl;
} }
@ -166,7 +167,8 @@ using alt_json = nlohmann::basic_json <
nlohmann::adl_serializer >; nlohmann::adl_serializer >;
bool operator<(const char* op1, const alt_string& op2) { bool operator<(const char* op1, const alt_string& op2)
{
return op1 < op2.str_impl; return op1 < op2.str_impl;
} }