summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-08 15:37:02 -0500
committerGravatar Lioncash2020-11-08 15:37:04 -0500
commit0aad9145279d1784e44a4a8250988c1546df4599 (patch)
tree17e66ddf2bebea6e8174fce202d7eef2ffa94e0b /src
parentMerge pull request #4903 from bunnei/remove-gpu-integrity (diff)
downloadyuzu-0aad9145279d1784e44a4a8250988c1546df4599.tar.gz
yuzu-0aad9145279d1784e44a4a8250988c1546df4599.tar.xz
yuzu-0aad9145279d1784e44a4a8250988c1546df4599.zip
cpu_interrupt_handler: Mark move contructor/assignment as deleted
The interrupt handler contains a std::atomic_bool, which isn't copyable or movable, so the special move member functions will always be deleted, despite being defaulted. This can resolve warnings on clang and GCC.
Diffstat (limited to '')
-rw-r--r--src/core/arm/cpu_interrupt_handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/cpu_interrupt_handler.h b/src/core/arm/cpu_interrupt_handler.h
index 71e582f79..c20c280f1 100644
--- a/src/core/arm/cpu_interrupt_handler.h
+++ b/src/core/arm/cpu_interrupt_handler.h
@@ -21,8 +21,8 @@ public:
21 CPUInterruptHandler(const CPUInterruptHandler&) = delete; 21 CPUInterruptHandler(const CPUInterruptHandler&) = delete;
22 CPUInterruptHandler& operator=(const CPUInterruptHandler&) = delete; 22 CPUInterruptHandler& operator=(const CPUInterruptHandler&) = delete;
23 23
24 CPUInterruptHandler(CPUInterruptHandler&&) = default; 24 CPUInterruptHandler(CPUInterruptHandler&&) = delete;
25 CPUInterruptHandler& operator=(CPUInterruptHandler&&) = default; 25 CPUInterruptHandler& operator=(CPUInterruptHandler&&) = delete;
26 26
27 bool IsInterrupted() const { 27 bool IsInterrupted() const {
28 return is_interrupted; 28 return is_interrupted;