summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-07-14 11:51:45 -0700
committerDentomologist <dentomologist@gmail.com>2025-07-14 11:55:24 -0700
commit8a28b95480d25c5fa828a1d0c4954b6523676205 (patch)
tree940b41020919b5851535c1eb388c8c1687a100fb /Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp
parent633fd5df70788c50e8cec403e330f3f2aca2d97e (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/DInput/DInput.cpp')
0 files changed, 0 insertions, 0 deletions