diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-15 08:58:51 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-15 14:15:56 -0400 |
commit | 59f872a8e06328da18c7fb1948aec76355afb567 (patch) | |
tree | 489518fcfb0a43b2cbff5e5738627fbb5d8a38c8 /src/core/gdbstub/gdbstub.cpp | |
parent | aeadbfa790b11ba859605df8a9357b960084b2a0 (diff) |
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.
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions