diff options
| author | 2018-10-15 09:25:11 -0400 | |
|---|---|---|
| committer | 2018-10-15 14:15:56 -0400 | |
| 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.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.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 | |||
| 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 | ||
| 68 | Cpu::~Cpu() = default; | 68 | Cpu::~Cpu() = default; |