mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
LibGemini: Avoid implicitly copying ByteBuffer
This commit is contained in:
parent
18ae5ede88
commit
d78365f785
1 changed files with 1 additions and 1 deletions
|
@ -122,8 +122,8 @@ void Job::on_socket_connected()
|
|||
}
|
||||
}
|
||||
|
||||
m_received_buffers.append(payload);
|
||||
m_received_size += payload.size();
|
||||
m_received_buffers.append(move(payload));
|
||||
flush_received_buffers();
|
||||
|
||||
deferred_invoke([this] { did_progress({}, m_received_size); });
|
||||
|
|
Loading…
Add table
Reference in a new issue