please the CI gods, wololo

pull/789/head
Jeff Becker 5 years ago
parent ba2aaa68c6
commit 16934cdd20
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -270,12 +270,19 @@ namespace llarp
++itr;
}
}
// decay replay window
m_ReplayFilter.erase(
std::remove_if(m_ReplayFilter.begin(), m_ReplayFilter.end(),
[now](const auto& item) -> bool {
return item.second + ReplayWindow > now;
}));
{
// decay replay window
auto itr = m_ReplayFilter.begin();
while(itr != m_ReplayFilter.end())
{
if(itr->second + ReplayWindow > now)
{
itr = m_ReplayFilter.erase(itr);
}
else
++itr;
}
}
}
using Introduction = AlignedBuffer< 64 >;

Loading…
Cancel
Save