ImutAVLTree::validateTree - fix null dereference typo warning. NFCI.

Noticed by static analyzer.
This commit is contained in:
Simon Pilgrim 2019-11-07 18:41:01 +00:00
parent 65c5f4e929
commit 4525a43c93
1 changed files with 1 additions and 2 deletions

View File

@ -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");