1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

Feature : Remove unneeded operators in AclRule

This commit is contained in:
Carlos Martín 2011-06-29 12:56:12 +02:00
parent 303db36d95
commit 773f5f0881

@ -39,15 +39,6 @@ public:
user(_user), resource(_resource), rights(_rights)
{};
AclRule& operator=(AclRule const& o)
{
user = o.user;
resource = o.resource;
rights = o.rights;
return *this;
};
bool operator ==(const AclRule& other) const
{
return (user == other.user &&
@ -55,16 +46,6 @@ public:
rights == other.rights);
};
bool operator!=(const AclRule& other) const
{
return !(*this == other);
};
bool operator <(const AclRule& other) const
{
return user < other.user;
};
/**
* Returns a human readable string for this rule
*