summaryrefslogtreecommitdiff
path: root/src/common/timer.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-29 18:18:39 -0400
committerGravatar Lioncash2018-04-29 18:24:12 -0400
commit40d2dcabd7e5b978c0e1e5c76000de01e2d0c270 (patch)
tree7749359774badad9b2bd602a69aa4a625fcb46ee /src/common/timer.cpp
parentMerge pull request #421 from Subv/sh_pred3 (diff)
downloadyuzu-40d2dcabd7e5b978c0e1e5c76000de01e2d0c270.tar.gz
yuzu-40d2dcabd7e5b978c0e1e5c76000de01e2d0c270.tar.xz
yuzu-40d2dcabd7e5b978c0e1e5c76000de01e2d0c270.zip
file_util: Add static assertions to ReadBytes() and WriteBytes()
Ensure that the actual types being passed in are trivially copyable. The internal call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char* which is always trivially copyable.
Diffstat (limited to 'src/common/timer.cpp')
0 files changed, 0 insertions, 0 deletions