mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
AK: Rename Vector::append(Vector) => Vector::extend(Vector)
Let's make it a bit more clear when we're appending the elements from one vector to the end of another vector.
This commit is contained in:
parent
7e1bffdeb8
commit
dc65f54c06
Notes:
sideshowbarker
2024-07-18 12:22:18 +09:00
Author: https://github.com/awesomekling
Commit: dc65f54c06
37 changed files with 103 additions and 104 deletions
|
@ -129,7 +129,7 @@ void PNGWriter::add_chunk(PNGChunk const& png_chunk)
|
|||
for (auto character : png_chunk.type()) {
|
||||
combined.append(character);
|
||||
}
|
||||
combined.append(png_chunk.data());
|
||||
combined.extend(png_chunk.data());
|
||||
|
||||
auto crc = BigEndian(Crypto::Checksum::CRC32({ (const u8*)combined.data(), combined.size() }).digest());
|
||||
auto data_len = BigEndian(png_chunk.data().size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue