mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-17 01:13:20 -03:00
Require ReadArray and WriteArray to be called with a trivially copyable type. ReadArray and WriteArray call std::fread and std::fwrite respectively. These functions trigger undefined behavior when the objects are not trivially copyable, so this adds that requirement to the callers.
2.9 KiB
2.9 KiB