mirror of
https://notabug.org/litucks/torzu.git
synced 2026-01-12 01:41:28 +00:00
Use std::fill instead of memset
This commit is contained in:
parent
22133fd606
commit
60791492e9
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ std::unique_ptr<Process> CreateApplicationProcess(std::vector<u8>& out_control,
|
|||
out_control = nacp.GetRawBytes();
|
||||
} else {
|
||||
out_control.resize(sizeof(FileSys::RawNACP));
|
||||
memset(out_control.data(), 0, out_control.size());
|
||||
std::fill(out_control.begin(), out_control.end(), 0);
|
||||
}
|
||||
|
||||
auto& storage = system.GetContentProviderUnion();
|
||||
|
|
|
|||
Loading…
Reference in a new issue