mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-09 08:00:52 -04: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