mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
Profiler: Make everything east-const :^)
This commit is contained in:
parent
cf8427b7b4
commit
ddccf451a9
16 changed files with 68 additions and 68 deletions
|
@ -123,7 +123,7 @@ void FlameGraphView::paint_event(GUI::PaintEvent& event)
|
|||
GUI::Painter painter(*this);
|
||||
painter.add_clip_rect(event.rect());
|
||||
|
||||
for (const auto& bar : m_bars) {
|
||||
for (auto const& bar : m_bars) {
|
||||
auto label = bar_label(bar);
|
||||
|
||||
auto color = m_colors[label.hash() % m_colors.size()];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue