From e7c1638d1179422c0d112c8a61197224973f400a Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 18 Jun 2018 22:03:46 +0200 Subject: [PATCH] :lipstick: cleanup --- test/src/unit-alt-string.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/src/unit-alt-string.cpp b/test/src/unit-alt-string.cpp index c5e89111..32a784ce 100644 --- a/test/src/unit-alt-string.cpp +++ b/test/src/unit-alt-string.cpp @@ -82,7 +82,8 @@ class alt_string return str_impl != op; } - bool operator!=(const alt_string& op) const { + bool operator!=(const alt_string& op) const + { return str_impl != op.str_impl; } @@ -166,7 +167,8 @@ using alt_json = nlohmann::basic_json < 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; }