mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:07:35 +00:00
Kernel: Add missing override specifiers
The `#pragma GCC diagnostic` part is needed because the class has virtual methods with the same name but different arguments, and Clang tries to warn us that we are not actually overriding anything with these. Weirdly enough, GCC does not seem to care.
This commit is contained in:
parent
33a341f5e1
commit
b97a00d4b1
10 changed files with 14 additions and 11 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
virtual u16 get_isr() const override;
|
||||
virtual u16 get_irr() const override;
|
||||
virtual u32 gsi_base() const override { return m_gsi_base; }
|
||||
virtual size_t interrupt_vectors_count() const { return m_redirection_entries_count; }
|
||||
virtual size_t interrupt_vectors_count() const override { return m_redirection_entries_count; }
|
||||
virtual const char* model() const override { return "IOAPIC"; };
|
||||
virtual IRQControllerType type() const override { return IRQControllerType::i82093AA; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue