diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 01:19:01 +0000 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-08-26 02:43:26 +0000 |
| commit | ad0306e52023d6b5bd02365fa80c2f7edbcb03c4 (patch) | |
| tree | b57a1bf7a8f3b2cd84671670dbf313708127fbcb /src/core/arm/cpu_interrupt_handler.cpp | |
| parent | 7eb6cc742a411ad804f85ff64ad6ef1ff677bf84 (diff) | |
cpu_interrupt_handler: Misc style changes
Diffstat (limited to 'src/core/arm/cpu_interrupt_handler.cpp')
| -rw-r--r-- | src/core/arm/cpu_interrupt_handler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/arm/cpu_interrupt_handler.cpp b/src/core/arm/cpu_interrupt_handler.cpp index 4c717ebe9b..9c88987003 100644 --- a/src/core/arm/cpu_interrupt_handler.cpp +++ b/src/core/arm/cpu_interrupt_handler.cpp @@ -7,9 +7,7 @@ namespace Core { -CPUInterruptHandler::CPUInterruptHandler() { - interrupt_event = std::make_unique<Common::Event>(); -} +CPUInterruptHandler::CPUInterruptHandler() : interrupt_event{std::make_unique<Common::Event>()} {} CPUInterruptHandler::~CPUInterruptHandler() = default; @@ -17,7 +15,7 @@ void CPUInterruptHandler::SetInterrupt(bool is_interrupted_) { if (is_interrupted_) { interrupt_event->Set(); } - this->is_interrupted = is_interrupted_; + is_interrupted = is_interrupted_; } void CPUInterruptHandler::AwaitInterrupt() { |
