mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Userland: Resolve -Woverloaded-virtual in LibGUI and SoundPlayer
Enable the warning project-wide. It catches when a non-virtual method creates an overload set with a virtual method. This might cause surprising overload resolution depending on how the method is invoked.
This commit is contained in:
parent
ed3cb88898
commit
c8cfd6661a
5 changed files with 7 additions and 8 deletions
|
@ -143,7 +143,7 @@ private:
|
|||
void do_clear_selection();
|
||||
bool do_add_selection(ItemData&);
|
||||
void add_selection(ItemData&);
|
||||
void remove_selection(ItemData&);
|
||||
void remove_item_selection(ItemData&);
|
||||
void toggle_selection(ItemData&);
|
||||
|
||||
int m_horizontal_padding { 5 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue