💄 cleanup

This commit is contained in:
Niels Lohmann 2018-06-18 22:03:46 +02:00
parent 1c81e9f5ae
commit e7c1638d11
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

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