mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-12 23:08:54 -05:00
8a28b95480
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.