From e26c01fe66bc698555fdee9d681b3abd6822848a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Aug 2017 00:17:03 +0300 Subject: Remove some parentheses. --- src/net/serverinfo.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/net') diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index f5da554ee..2bdec0251 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -181,14 +181,16 @@ class ServerInfo final bool operator==(const ServerInfo &other) const { - return (name == other.name && hostname == other.hostname && - port == other.port); + return name == other.name && + hostname == other.hostname && + port == other.port; } bool operator!=(const ServerInfo &other) const { - return (name != other.name || hostname != other.hostname || - port != other.port); + return name != other.name || + hostname != other.hostname || + port != other.port; } static ServerTypeT parseType(const std::string &serverType) -- cgit v1.2.3-70-g09d2