diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-05 14:08:26 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-05 14:08:28 -0400 |
commit | a77ee63f65ba34d91944e168a9ba29464cef12b1 (patch) | |
tree | 707a3dfb4ed17b20f297ada3767f86e1b6fba319 /src/core/cpu_manager.cpp | |
parent | 07691f994a30af375d68b5c9e7701d97c23b17a6 (diff) |
ipc_helpers: Only allow trivially copyable objects with PushRaw() and PopRaw()
It's undefined behavior to use non-trivially copyable objects with
std::memcpy, so we can add asserts to catch usages of these at
compile-time.
Diffstat (limited to 'src/core/cpu_manager.cpp')
0 files changed, 0 insertions, 0 deletions