diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-15 15:25:11 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-15 20:15:56 +0200 |
commit | 5484742fdaf036db03ac7b8c746df5004f74efad (patch) | |
tree | 71f2f25319773fa718ade73b59fccccfbceedb12 /src/core/core_cpu.cpp | |
parent | core: Make the live Cpu instances unique_ptrs instead of shared_ptrs (diff) | |
download | yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.gz yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.bz2 yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.lz yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.xz yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.zst yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.zip |
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r-- | src/core/core_cpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp index 9f856ca6e..fffda8a99 100644 --- a/src/core/core_cpu.cpp +++ b/src/core/core_cpu.cpp @@ -62,7 +62,7 @@ Cpu::Cpu(ExclusiveMonitor& exclusive_monitor, CpuBarrier& cpu_barrier, std::size arm_interface = std::make_unique<ARM_Unicorn>(); } - scheduler = std::make_shared<Kernel::Scheduler>(*arm_interface); + scheduler = std::make_unique<Kernel::Scheduler>(*arm_interface); } Cpu::~Cpu() = default; |