Part of the bug. Return value from setItem was incorrect.

This commit is contained in:
JoelKatz
2012-05-15 18:09:45 -07:00
parent c19994e6df
commit 32f3c7049f

View File

@@ -299,7 +299,7 @@ bool SHAMapTreeNode::setItem(SHAMapItem::pointer& i, TNType type)
mItem = i;
assert(isLeaf());
updateHash();
return getNodeHash() == hash;
return getNodeHash() != hash;
}
SHAMapItem::pointer SHAMapTreeNode::getItem() const