1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:37:34 +00:00

Profiler: Don't return constant copies of GUI::ModelIndex

This commit is contained in:
Hendiadyoin1 2021-12-22 16:39:42 +01:00 committed by Brian Gianforcaro
parent 39a4c0e6ce
commit e727605007
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ FlameGraphView::FlameGraphView(GUI::Model& model, int text_column, int width_col
layout_bars();
}
GUI::ModelIndex const FlameGraphView::hovered_index() const
GUI::ModelIndex FlameGraphView::hovered_index() const
{
if (!m_hovered_bar)
return GUI::ModelIndex();