From b47aa999ec8ff5c5224ebd0ca096c6440688bee0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 9 Sep 2008 13:51:38 -0700 Subject: [PATCH] fix coll_t != comparator --- src/include/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/object.h b/src/include/object.h index f287df93450dd..bdb31cf5540e4 100644 --- a/src/include/object.h +++ b/src/include/object.h @@ -152,7 +152,7 @@ inline bool operator==(const coll_t& l, const coll_t& r) { return l.high == r.high && l.low == r.low; } inline bool operator!=(const coll_t& l, const coll_t& r) { - return l.high == r.high && l.low == r.low; + return l.high != r.high || l.low != r.low; } inline bool operator>(const coll_t& l, const coll_t& r) { return l.high > r.high || (l.high == r.high && l.low > r.low); -- 2.39.5