Update src/Common/ZooKeeper/IKeeper.h

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
alesapin 2022-05-06 12:13:51 +02:00 committed by GitHub
parent f4cdd86ae8
commit 931a5f11f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,11 +35,7 @@ struct ACL
String scheme;
String id;
bool operator<(const ACL & other) const
{
return std::tuple(permissions, scheme, id)
< std::tuple(other.permissions, other.scheme, other.id);
}
auto operator<=>(const ACL &) const = default;
};
using ACLs = std::vector<ACL>;