Use resize_zeroed instead of resize then fill(0) in several places.
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user