mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 12:32:52 +00:00
Fix compilation error on clang and gcc
This commit is contained in:
parent
1b4ff37112
commit
45b9df78d6
@ -474,7 +474,7 @@ void ColorBar::onRemapButtonClick()
|
|||||||
PalettePicks usedEntries(256);
|
PalettePicks usedEntries(256);
|
||||||
|
|
||||||
for (const Cel* cel : sprite->uniqueCels()) {
|
for (const Cel* cel : sprite->uniqueCels()) {
|
||||||
for (const auto& i : const LockImageBits<IndexedTraits>(cel->image()))
|
for (const auto& i : LockImageBits<IndexedTraits>(cel->image()))
|
||||||
usedEntries[i] = true;
|
usedEntries[i] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user