chore(util/rb_tree): style
This commit is contained in:
parent
52f84c139b
commit
3f42e5fbd9
1 changed files with 1 additions and 4 deletions
|
|
@ -71,10 +71,7 @@ class rb_tree : private CMP {
|
|||
}
|
||||
|
||||
bool check_cmp_result(T const & v1, T const & v2) const {
|
||||
DEBUG_CODE(
|
||||
int n1 = CMP::operator()(v1, v2);
|
||||
int n2 = CMP::operator()(v2, v1);
|
||||
);
|
||||
DEBUG_CODE(int n1 = CMP::operator()(v1, v2); int n2 = CMP::operator()(v2, v1););
|
||||
lean_assert((n1 < 0 && n2 > 0) || (n1 == 0 && n2 == 0) || (n1 > 0 && n2 < 0));
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue