Skip to content

Commit 1c2be9f

Browse files
committed
Fix a warning
1 parent 4fb40eb commit 1c2be9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mif/net/clients/frame_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace Mif
3131
if (!m_buffer.size())
3232
m_buffer.swap(buffer);
3333
else
34-
m_buffer.insert(std::end(m_buffer), std::begin(buffer), std::end(buffer));
34+
std::copy(std::begin(buffer), std::end(buffer), std::back_inserter(m_buffer));
3535
std::int32_t frameBytes = 0;
3636
if (m_buffer.size() < sizeof(frameBytes))
3737
return;

0 commit comments

Comments
 (0)