Commit a77ee63f authored by Lioncash's avatar Lioncash
Browse files

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.
parent 07691f99
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment