The mitigation was bogus, fix it so it works

Former-commit-id: c7f1e069bf7e7b6f5321f920af9a0ed80f3853b0
This commit is contained in:
John Sully 2019-12-16 18:40:55 -05:00
parent 1a97093719
commit 3ccf0c97cf

View File

@ -132,8 +132,8 @@ public:
{ {
setiter itr(itrStart); setiter itr(itrStart);
if (itrStart.set == this) // really if this case isn't true its probably a bug if (itrStart.set != this) // really if this case isn't true its probably a bug
itr = itrStart; // but why crash the program when we can easily fix this? itr.set = this; // but why crash the program when we can easily fix this?
fPauseRehash = true; fPauseRehash = true;
if (itr.idxPrimary >= m_data.size()) if (itr.idxPrimary >= m_data.size())