From b4f57247b8ed1de0ae2720d05601b64cd2d2e9b3 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 19 Aug 2011 04:20:11 -0400 Subject: [PATCH] Fixed AccessGroup::operator> fail --- src/access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/access.cpp b/src/access.cpp index 3c1eb8714..cbe2f2a12 100644 --- a/src/access.cpp +++ b/src/access.cpp @@ -126,7 +126,7 @@ bool AccessGroup::operator>(const AccessGroup &other) const for (size_t i = CA_SIZE; i > 0; --i) if (this->HasPriv(static_cast(i - 1)) && !other.HasPriv(static_cast(i - 1))) return true; - return true; + return false; } bool AccessGroup::operator<(const AccessGroup &other) const