Commit 59f872a8 authored by Lioncash's avatar Lioncash
Browse files

core: Make the live Cpu instances unique_ptrs instead of shared_ptrs

There's no need for shared ownership here, as the only owning class
instance of those Cpu instances is the System class itself. We can also
make the thread_to_cpu map use regular pointers instead of shared_ptrs,
given that the Cpu instances will always outlive the cases where they're
used with that map.
parent aeadbfa7
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