mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 16:28:54 +00:00
LibGUI+PixelPaint: Move virtual destructors out-of-line for Clang 17
This commit is contained in:
parent
fa43321938
commit
8366c9f55a
Notes:
sideshowbarker
2024-07-17 00:37:23 +09:00
Author: https://github.com/BertalanD
Commit: 8366c9f55a
Pull-request: https://github.com/SerenityOS/serenity/pull/23960
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/DanShaders
Reviewed-by: https://github.com/alimpfard
8 changed files with 12 additions and 4 deletions
|
@ -50,6 +50,8 @@ MultiView::MultiView()
|
|||
set_view_mode(ViewMode::Icon);
|
||||
}
|
||||
|
||||
MultiView::~MultiView() = default;
|
||||
|
||||
void MultiView::set_view_mode(ViewMode mode)
|
||||
{
|
||||
if (m_view_mode == mode)
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace GUI {
|
|||
class MultiView final : public GUI::StackWidget {
|
||||
C_OBJECT(MultiView)
|
||||
public:
|
||||
virtual ~MultiView() override = default;
|
||||
virtual ~MultiView() override;
|
||||
|
||||
Function<void()> on_selection_change;
|
||||
Function<void(ModelIndex const&)> on_activation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue