We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb40eb commit 1c2be9fCopy full SHA for 1c2be9f
src/mif/net/clients/frame_reader.cpp
@@ -31,7 +31,7 @@ namespace Mif
31
if (!m_buffer.size())
32
m_buffer.swap(buffer);
33
else
34
- m_buffer.insert(std::end(m_buffer), std::begin(buffer), std::end(buffer));
+ std::copy(std::begin(buffer), std::end(buffer), std::back_inserter(m_buffer));
35
std::int32_t frameBytes = 0;
36
if (m_buffer.size() < sizeof(frameBytes))
37
return;
0 commit comments