mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fix reversed logic in treeNodeRed
This commit is contained in:
parent
2c18ced808
commit
2dba75d7f2
@ -41,7 +41,7 @@ setTreeNodeValue(Thread* t, object n, object value)
|
||||
inline bool
|
||||
treeNodeRed(Thread*, object n)
|
||||
{
|
||||
return (cast<intptr_t>(n, TreeNodeValue) & (~PointerMask)) != 1;
|
||||
return (cast<intptr_t>(n, TreeNodeValue) & (~PointerMask)) == 1;
|
||||
}
|
||||
|
||||
inline void
|
||||
|
Loading…
Reference in New Issue
Block a user