core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs

This commit is contained in:
Lioncash committed 2018-10-15 14:15:56 -04:00
1 parent c6474b9321
commit f94bf1a29f
10 files changed
+50 -31

No files matched your search

+1 -1
View File
@@ -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;