Skip to content
Snippets Groups Projects
Commit fbb82e61 authored by Lioncash's avatar Lioncash
Browse files

kernel/hle_ipc: Convert std::shared_ptr IPC header instances to std::optional

There's no real need to use a shared lifetime here, since we don't
actually expose them to anything else. This is also kind of an
unnecessary use of the heap given the objects themselves are so small;
small enough, in fact that changing over to optionals actually reduces
the overall size of the HLERequestContext struct (818 bytes to 808
bytes).
parent 69749a88
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment