1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

Profiler: Make everything east-const :^)

This commit is contained in:
Stephan Unverwerth 2021-12-28 13:35:08 +01:00 committed by Andreas Kling
parent cf8427b7b4
commit ddccf451a9
16 changed files with 68 additions and 68 deletions

View file

@ -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()];