mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix some broken traverses.
This commit is contained in:
@@ -18,7 +18,7 @@ bool SuppressionTable::addSuppression(const uint160& suppression)
|
||||
for (std::list<uint160>::iterator lit = it->second.begin(), end = it->second.end();
|
||||
lit != end; ++lit)
|
||||
mSuppressionMap.erase(*lit);
|
||||
mSuppressionTimes.erase(it++);
|
||||
it = mSuppressionTimes.erase(it);
|
||||
}
|
||||
else ++it;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user