mirror of
https://notabug.org/litucks/torzu.git
synced 2025-04-24 09:05:13 +00:00
Use std::fill instead of memset
This commit is contained in:
parent
22133fd606
commit
60791492e9
@ -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…
x
Reference in New Issue
Block a user