Remove <filesystem>

Should fix compilation with GCC before 9
This commit is contained in:
ISSOtm
2022-03-09 09:35:46 +01:00
committed by Eldred Habert
parent 8d00a61602
commit c4361b965c
4 changed files with 32 additions and 21 deletions

View File

@@ -39,7 +39,8 @@ void indexed(std::vector<Palette> &palettes, int palSize, png_color const *palRG
return std::find(colors.begin(), colors.end(), color) != colors.end();
})) {
if (palette.size() != options.maxPalSize()) {
warning("Unused color in PNG embedded palette was re-added; please use `-c embedded` to get this in future versions");
warning("Unused color in PNG embedded palette was re-added; please use `-c "
"embedded` to get this in future versions");
}
// Overwrite the palette, and return with that (it's already sorted)
palette.colors = colors;