summaryrefslogtreecommitdiff
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-15 09:25:11 -0400
committerGravatar Lioncash2018-10-15 14:15:56 -0400
commit5484742fdaf036db03ac7b8c746df5004f74efad (patch)
tree71f2f25319773fa718ade73b59fccccfbceedb12 /src/core/core_cpu.cpp
parentcore: Make the live Cpu instances unique_ptrs instead of shared_ptrs (diff)
downloadyuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.gz
yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.tar.xz
yuzu-5484742fdaf036db03ac7b8c746df5004f74efad.zip
core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r--src/core/core_cpu.cpp2
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
62 arm_interface = std::make_unique<ARM_Unicorn>(); 62 arm_interface = std::make_unique<ARM_Unicorn>();
63 } 63 }
64 64
65 scheduler = std::make_shared<Kernel::Scheduler>(*arm_interface); 65 scheduler = std::make_unique<Kernel::Scheduler>(*arm_interface);
66} 66}
67 67
68Cpu::~Cpu() = default; 68Cpu::~Cpu() = default;