summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-08-28 00:28:07 +0300
committerAndreas Kling <kling@serenityos.org>2020-08-28 09:16:18 +0200
commita431108ab66a988246c1ed5d1693f3e404a9a5f7 (patch)
tree80f5e1d2b60e85dc25ae8d032adca573f3d9f0c1 /Kernel
parent6020a4f274571a2c881038ed5f281a2bd9d55c84 (diff)
downloadserenity-a431108ab66a988246c1ed5d1693f3e404a9a5f7.zip
Kernel: Add and remove explicit keyword where needed
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Interrupts/GenericInterruptHandler.h2
-rw-r--r--Kernel/Interrupts/IRQHandler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Interrupts/GenericInterruptHandler.h b/Kernel/Interrupts/GenericInterruptHandler.h
index f479ee3065..2202b69a08 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 9f1a6b34ad..6034afbf09 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 };