Skip to content

Commit c621daa

Browse files
committed
Retesting build on github actions.
1 parent 072096b commit c621daa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/Session.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ void Session::doRead()
7575
auto bufLen = bytesCount;
7676
bool useVector = !m_inData.empty();
7777
if (useVector) {
78+
m_inData.reserve(m_inData.size() + bufLen);
7879
m_inData.insert(m_inData.end(), buf, buf + bufLen);
7980
buf = &m_inData[0];
8081
bufLen = m_inData.size();

0 commit comments

Comments
 (0)