Use resize_zeroed instead of resize then fill(0) in several places.

This commit is contained in:
Lukas Tenbrink
2025-03-14 09:26:29 +01:00
parent 7e4f6bdb59
commit f4de2cd22a
6 changed files with 7 additions and 15 deletions

View File

@ -118,8 +118,7 @@ Error PCKPacker::add_file_removal(const String &p_target_path) {
pf.size = 0;
pf.removal = true;
pf.md5.resize(16);
pf.md5.fill(0);
pf.md5.resize_zeroed(16);
files.push_back(pf);