Merge pull request #4909 from lioncash/interrupt
cpu_interrupt_handler: Mark move contructor/assignment as deleted
This commit is contained in:
commit
9b24197ca0
@ -21,8 +21,8 @@ public:
|
|||||||
CPUInterruptHandler(const CPUInterruptHandler&) = delete;
|
CPUInterruptHandler(const CPUInterruptHandler&) = delete;
|
||||||
CPUInterruptHandler& operator=(const CPUInterruptHandler&) = delete;
|
CPUInterruptHandler& operator=(const CPUInterruptHandler&) = delete;
|
||||||
|
|
||||||
CPUInterruptHandler(CPUInterruptHandler&&) = default;
|
CPUInterruptHandler(CPUInterruptHandler&&) = delete;
|
||||||
CPUInterruptHandler& operator=(CPUInterruptHandler&&) = default;
|
CPUInterruptHandler& operator=(CPUInterruptHandler&&) = delete;
|
||||||
|
|
||||||
bool IsInterrupted() const {
|
bool IsInterrupted() const {
|
||||||
return is_interrupted;
|
return is_interrupted;
|
||||||
|
Loading…
Reference in New Issue
Block a user