diff --git a/Kernel/Interrupts/GenericInterruptHandler.h b/Kernel/Interrupts/GenericInterruptHandler.h index f479ee30658..2202b69a081 100644 --- a/Kernel/Interrupts/GenericInterruptHandler.h +++ b/Kernel/Interrupts/GenericInterruptHandler.h @@ -65,7 +65,7 @@ public: protected: void change_interrupt_number(u8 number); - explicit GenericInterruptHandler(u8 interrupt_number, bool disable_remap = false); + GenericInterruptHandler(u8 interrupt_number, bool disable_remap = false); private: size_t m_invoking_count { 0 }; diff --git a/Kernel/Interrupts/IRQHandler.h b/Kernel/Interrupts/IRQHandler.h index 9f1a6b34ad7..6034afbf096 100644 --- a/Kernel/Interrupts/IRQHandler.h +++ b/Kernel/Interrupts/IRQHandler.h @@ -57,7 +57,7 @@ public: protected: void change_irq_number(u8 irq); - IRQHandler(u8 irq); + explicit IRQHandler(u8 irq); private: bool m_shared_with_others { false };