From 598e4d2f6ccfc3dc774a28be53d8b1d78ebbd08d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 25 Sep 2018 16:04:53 -0400 Subject: core_cpu: Make arm_interface instances a std::unique_ptr This is only exposed by reference, so we can just make it a unique pointer to get rid of the need to also use reference counting for the pointer. --- src/core/core_cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/core_cpu.h') diff --git a/src/core/core_cpu.h b/src/core/core_cpu.h index 685532965..ee7e04abc 100644 --- a/src/core/core_cpu.h +++ b/src/core/core_cpu.h @@ -76,7 +76,7 @@ public: private: void Reschedule(); - std::shared_ptr arm_interface; + std::unique_ptr arm_interface; std::shared_ptr cpu_barrier; std::shared_ptr scheduler; -- cgit v1.2.3