ImutAVLTree::validateTree - fix null dereference typo warning. NFCI.
Noticed by static analyzer.
This commit is contained in:
parent
65c5f4e929
commit
4525a43c93
|
@ -205,8 +205,7 @@ public:
|
|||
ImutInfo::KeyOfValue(getValue()))) &&
|
||||
"Value in left child is not less that current value");
|
||||
|
||||
|
||||
assert(!(getRight() ||
|
||||
assert((!getRight() ||
|
||||
ImutInfo::isLess(ImutInfo::KeyOfValue(getValue()),
|
||||
ImutInfo::KeyOfValue(getRight()->getValue()))) &&
|
||||
"Current value is not less that value of right child");
|
||||
|
|
Loading…
Reference in New Issue