Skip to content
Snippets Groups Projects
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
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