Fixed small fopa

This commit is contained in:
WolverinDEV 2020-02-18 12:11:02 +01:00
parent 72661d17bc
commit 6bcd6ab229
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ ssize_t AcknowledgeManager::execute_resend(const system_clock::time_point& now ,
{
bool cleanup{false};
std::lock_guard lock{this->entry_lock};
need_resend.resize(this->entries.size());
need_resend.reserve(this->entries.size());
for (auto &entry : this->entries) {
if(entry->acknowledged) {