rbtree: silence parentheses warning
authorScott Wood <scott@buserror.net>
Sun, 26 Feb 2012 04:21:50 +0000 (22:21 -0600)
committerScott Wood <scott@buserror.net>
Fri, 9 Mar 2012 05:18:05 +0000 (23:18 -0600)
Signed-off-by: Scott Wood <scott@buserror.net>
include/c++/util/rbtree.h

index 8885e1238dc78320b711a63e01f29dc33b042754..7bacfb183585206193f73878fbcb1988fb42abb7 100644 (file)
@@ -370,7 +370,8 @@ public:
                        return;
                }
                
-               assert(n->parent->value < n->value != n->value < n->parent->value);
+               assert((n->parent->value < n->value) != 
+                      (n->value < n->parent->value));
                n->red = true;
 
                if (!n->parent->red)