mirror of
https://github.com/corda/corda.git
synced 2025-06-12 04:08:26 +00:00
fix reversed logic in treeNodeRed
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user