mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-17 16:42:54 +00:00
Everywhere: Fix -Winconsistent-missing-override warnings from Clang
This option is already enabled when building Lagom, so let's enable it for the main build too. We will no longer be surprised by Lagom Clang CI builds failing while everything compiles locally. Furthermore, the stronger `-Wsuggest-override` warning is enabled in this commit, which enforces the use of the `override` keyword in all classes, not just those which already have some methods marked as `override`. This works with both GCC and Clang.
This commit is contained in:
parent
813593a485
commit
4a81b33c07
Notes:
sideshowbarker
2024-07-17 22:58:50 +09:00
Author: https://github.com/BertalanD
Commit: 4a81b33c07
Pull-request: https://github.com/SerenityOS/serenity/pull/11206
22 changed files with 45 additions and 45 deletions
|
@ -24,7 +24,7 @@ protected:
|
|||
GitFilesView(GitFileActionCallback, NonnullRefPtr<Gfx::Bitmap> action_icon);
|
||||
|
||||
private:
|
||||
virtual void paint_list_item(GUI::Painter& painter, int row_index, int painted_item_index);
|
||||
virtual void paint_list_item(GUI::Painter& painter, int row_index, int painted_item_index) override;
|
||||
|
||||
virtual void mousedown_event(GUI::MouseEvent&) override;
|
||||
virtual Gfx::IntRect action_icon_rect(size_t painted_item_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue