diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-23 14:52:32 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-23 14:53:54 -0400 |
commit | 1432912ae88e750ae0aae8972d7e260538d271df (patch) | |
tree | adb2360ca68a60f3ec03d1902d6e33ff09b27f18 /src/core/loader/nro.cpp | |
parent | 344a0c91f27a848d6bd21f9a166bc044054331ff (diff) |
vi: Add std::is_trivially_copyable checks to Read and Write functions
It's undefined behavior to memcpy an object that isn't considered
trivially copyable, so put a compile-time check in to make sure this
doesn't occur.
Diffstat (limited to 'src/core/loader/nro.cpp')
0 files changed, 0 insertions, 0 deletions