Merge pull request #4909 from lioncash/interrupt

cpu_interrupt_handler: Mark move contructor/assignment as deleted
This commit is contained in:
Rodrigo Locatti 2020-11-08 22:09:40 -03:00 committed by GitHub
commit 9b24197ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;