https://bugs.kde.org/show_bug.cgi?id=362943
Bug ID: 362943 Summary: false positive for reserve candidate Product: clazy Version: unspecified Platform: Other OS: other Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: eric.lemaniss...@gmail.com CC: smart...@kde.org In the following code, I get the warning "Reserve candidate [-Wclazy-reserve-candidates]" on the last line: m_tmpBuf.reserve(m_tmpBuf.size() + vect.size()); for(const auto &i:vect) { m_tmpBuf << i; } Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.