diff options
| author | Dentomologist <dentomologist@gmail.com> | 2025-07-14 11:51:45 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2025-07-14 11:55:24 -0700 |
| commit | 8a28b95480d25c5fa828a1d0c4954b6523676205 (patch) | |
| tree | 940b41020919b5851535c1eb388c8c1687a100fb /Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp | |
| parent | 633fd5df70788c50e8cec403e330f3f2aca2d97e (diff) | |
IOFile: Require trivially copyable types
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.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp')
0 files changed, 0 insertions, 0 deletions
