mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fixed a compilation error in gcc with std::sort().
This commit is contained in:
parent
ad82f979b4
commit
5f670782de
@ -347,7 +347,7 @@ struct PalEntryWithIndexPredicate {
|
||||
PalEntryWithIndexPredicate(SortPalette* sort_palette)
|
||||
: sort_palette(sort_palette) { }
|
||||
|
||||
bool operator()(PalEntryWithIndex& a, PalEntryWithIndex& b) {
|
||||
bool operator()(const PalEntryWithIndex& a, const PalEntryWithIndex& b) {
|
||||
return sort_palette->operator()(a.color, b.color);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user