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:
Andreas Kling 2021-06-12 13:24:45 +02:00
commit dc65f54c06
Notes: sideshowbarker 2024-07-18 12:22:18 +09:00
37 changed files with 103 additions and 104 deletions

View file

@ -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());