mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Use east const in more places
These changes are compatible with clang-format 16 and will be mandatory when we eventually bump clang-format version. So, since there are no real downsides, let's commit them now.
This commit is contained in:
@@ -772,7 +772,7 @@ void DynamicLoader::copy_initial_tls_data_into(ByteBuffer& buffer) const
|
||||
VERIFY(program_header.size_in_image() <= program_header.size_in_memory());
|
||||
VERIFY(program_header.size_in_memory() <= m_tls_size_of_current_object);
|
||||
VERIFY(tls_start_in_buffer + program_header.size_in_memory() <= buffer.size());
|
||||
memcpy(buffer.data() + tls_start_in_buffer, static_cast<const u8*>(m_file_data) + program_header.offset(), program_header.size_in_image());
|
||||
memcpy(buffer.data() + tls_start_in_buffer, static_cast<u8 const*>(m_file_data) + program_header.offset(), program_header.size_in_image());
|
||||
|
||||
return IterationDecision::Break;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user