mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-05 09:18:35 -08:00
Do not always zero initialize for rust resize vec
This commit is contained in:
@@ -90,7 +90,7 @@ private:
|
||||
rust::Vec<uint8_t> &_data;
|
||||
size_t _pos = 0;
|
||||
|
||||
void ensure_size(size_t sz);
|
||||
void ensure_size(size_t sz, bool zero = false);
|
||||
};
|
||||
|
||||
class file_channel : public channel {
|
||||
|
||||
Reference in New Issue
Block a user