PixelPaint: Convert to east-const style

This commit is contained in:
Andreas Kling 2021-06-11 13:27:47 +02:00
commit 29e80178a8
Notes: sideshowbarker 2024-07-18 12:23:24 +09:00
23 changed files with 72 additions and 72 deletions

View file

@ -103,7 +103,7 @@ void LayerListWidget::paint_event(GUI::PaintEvent& event)
paint_gadget(m_gadgets[m_moving_gadget_index.value()]);
}
Optional<size_t> LayerListWidget::gadget_at(const Gfx::IntPoint& position)
Optional<size_t> LayerListWidget::gadget_at(Gfx::IntPoint const& position)
{
for (size_t i = 0; i < m_gadgets.size(); ++i) {
if (m_gadgets[i].rect.contains(position))