mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:27: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
|
@ -42,9 +42,9 @@ private:
|
|||
virtual bool handle_irq(const RegisterState&) override;
|
||||
|
||||
//* IDEChannel
|
||||
virtual void send_ata_io_command(LBAMode lba_mode, Direction direction) const;
|
||||
virtual void ata_read_sectors(bool, u16);
|
||||
virtual void ata_write_sectors(bool, u16);
|
||||
virtual void send_ata_io_command(LBAMode lba_mode, Direction direction) const override;
|
||||
virtual void ata_read_sectors(bool, u16) override;
|
||||
virtual void ata_write_sectors(bool, u16) override;
|
||||
|
||||
PhysicalRegionDescriptor& prdt() { return *reinterpret_cast<PhysicalRegionDescriptor*>(m_prdt_region->vaddr().as_ptr()); }
|
||||
OwnPtr<Region> m_prdt_region;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue