Profiler: Use = default for empty destructor

This commit is contained in:
Brian Gianforcaro 2021-09-01 02:05:46 -07:00 committed by Andreas Kling
parent c0341215de
commit 16f0248ca2
Notes: sideshowbarker 2024-07-18 04:56:02 +09:00
2 changed files with 1 additions and 5 deletions

View file

@ -49,10 +49,6 @@ FlameGraphView::FlameGraphView(GUI::Model& model, int text_column, int width_col
layout_bars();
}
FlameGraphView::~FlameGraphView()
{
}
GUI::ModelIndex const FlameGraphView::hovered_index() const
{
if (!m_hovered_bar)

View file

@ -21,7 +21,7 @@ class FlameGraphView final : public GUI::Widget
C_OBJECT(FlameGraphView);
public:
virtual ~FlameGraphView() override;
virtual ~FlameGraphView() override = default;
Function<void()> on_hover_change;