diff --git a/src/app/ui/color_bar.cpp b/src/app/ui/color_bar.cpp index 943acded3..950d7b8a6 100644 --- a/src/app/ui/color_bar.cpp +++ b/src/app/ui/color_bar.cpp @@ -474,7 +474,7 @@ void ColorBar::onRemapButtonClick() PalettePicks usedEntries(256); for (const Cel* cel : sprite->uniqueCels()) { - for (const auto& i : const LockImageBits(cel->image())) + for (const auto& i : LockImageBits(cel->image())) usedEntries[i] = true; }