Fix compilation error on clang and gcc

This commit is contained in:
David Capello 2015-07-28 18:04:31 -03:00
parent 1b4ff37112
commit 45b9df78d6

View File

@ -474,7 +474,7 @@ void ColorBar::onRemapButtonClick()
PalettePicks usedEntries(256);
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;
}