Fix a possible bug in commented out code.

This commit is contained in:
JoelKatz
2013-03-03 05:59:47 -08:00
parent 15b6fbed0b
commit c1f8bed3b8

View File

@@ -27,7 +27,7 @@ void SHAMapNode::setHash() const
mHash = mNodeID.hash_combine(h);
#if 0
const unsigned int *ptr = reinterpret_cast<const unsigned int *>(mNodeID.begin());
for (int i = (mDepth + 3) / 4; i >= 0; --i)
for (int i = (mDepth + 3) / 4; i != 0; --i)
boost::hash_combine(h, *ptr++);
mHash = h;
#endif