summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/IconView.h
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-01-03 01:34:29 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2022-01-04 07:51:31 +0000
commitc8cfd6661adbf37e34f1b629e2baf641ec7cb8ee (patch)
tree4be9bb52ed2fc71010106996a4211b4570a2d272 /Userland/Libraries/LibGUI/IconView.h
parented3cb888985d95be8967f41f9e604f280fcc9496 (diff)
downloadserenity-c8cfd6661adbf37e34f1b629e2baf641ec7cb8ee.zip
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.
Diffstat (limited to 'Userland/Libraries/LibGUI/IconView.h')
-rw-r--r--Userland/Libraries/LibGUI/IconView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/IconView.h b/Userland/Libraries/LibGUI/IconView.h
index 53da8f638b..258f1c1904 100644
--- a/Userland/Libraries/LibGUI/IconView.h
+++ b/Userland/Libraries/LibGUI/IconView.h
@@ -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 };