diff options
| author | 2022-02-02 12:59:36 -0500 | |
|---|---|---|
| committer | 2022-02-02 13:17:12 -0500 | |
| commit | f785f73e9279dcb9cfdee93da694d7a1f55142ea (patch) | |
| tree | 52edfca975d8df963ef38987ea1e99b7fb6f5553 /src/core/arm | |
| parent | general: Move deleted copy/move constructor/assignment operators to public in... (diff) | |
| download | yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.gz yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.tar.xz yuzu-f785f73e9279dcb9cfdee93da694d7a1f55142ea.zip | |
general: Replace NonCopyable struct with equivalents
Diffstat (limited to 'src/core/arm')
| -rw-r--r-- | src/core/arm/arm_interface.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index 689e3ceb5..c60322442 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include <array> | 7 | #include <array> |
| 8 | #include <vector> | 8 | #include <vector> |
| 9 | #include "common/common_funcs.h" | ||
| 9 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 10 | #include "core/hardware_properties.h" | 11 | #include "core/hardware_properties.h" |
| 11 | 12 | ||
| @@ -24,8 +25,11 @@ class CPUInterruptHandler; | |||
| 24 | using CPUInterrupts = std::array<CPUInterruptHandler, Core::Hardware::NUM_CPU_CORES>; | 25 | using CPUInterrupts = std::array<CPUInterruptHandler, Core::Hardware::NUM_CPU_CORES>; |
| 25 | 26 | ||
| 26 | /// Generic ARMv8 CPU interface | 27 | /// Generic ARMv8 CPU interface |
| 27 | class ARM_Interface : NonCopyable { | 28 | class ARM_Interface { |
| 28 | public: | 29 | public: |
| 30 | YUZU_NON_COPYABLE(ARM_Interface); | ||
| 31 | YUZU_NON_MOVEABLE(ARM_Interface); | ||
| 32 | |||
| 29 | explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers_, | 33 | explicit ARM_Interface(System& system_, CPUInterrupts& interrupt_handlers_, |
| 30 | bool uses_wall_clock_) | 34 | bool uses_wall_clock_) |
| 31 | : system{system_}, interrupt_handlers{interrupt_handlers_}, uses_wall_clock{ | 35 | : system{system_}, interrupt_handlers{interrupt_handlers_}, uses_wall_clock{ |