diff --git a/fdbserver/WorkerInterface.h b/fdbserver/WorkerInterface.h index 26fedb0e3b..9aea3d9cf4 100644 --- a/fdbserver/WorkerInterface.h +++ b/fdbserver/WorkerInterface.h @@ -297,11 +297,11 @@ struct Role { std::string abbreviation; bool includeInTraceRoles; - bool operator==(const Role &r) const { - return roleName == r.roleName; - } - bool operator!=(const Role &r) const { - return !(*this == r); + bool operator==(const Role &r) const { + return roleName == r.roleName; + } + bool operator!=(const Role &r) const { + return !(*this == r); } private: