mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 18:46:18 +00:00
LibWeb: Explicitly mark HashMap copy
This commit is contained in:
parent
5cfa883b9f
commit
12d1ddbde5
|
@ -92,7 +92,7 @@ void Resource::did_load(Badge<ResourceLoader>, ReadonlyBytes data, HashMap<Depre
|
|||
VERIFY(!m_loaded);
|
||||
// FIXME: Handle OOM failure.
|
||||
m_encoded_data = ByteBuffer::copy(data).release_value_but_fixme_should_propagate_errors();
|
||||
m_response_headers = headers;
|
||||
m_response_headers = headers.clone().release_value_but_fixme_should_propagate_errors();
|
||||
m_status_code = move(status_code);
|
||||
m_loaded = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue