Files
MINGW-packages/mingw-w64-openscad/009-Removed-unnecessary-std-unary_function.patch
2025-06-01 11:52:42 +01:00

12 lines
375 B
Diff

--- a/src/FreetypeRenderer.h
+++ b/src/FreetypeRenderer.h
@@ -124,7 +124,7 @@
hb_glyph_position_t *glyph_pos;
};
- struct done_glyph : public std::unary_function<const GlyphData *, void> {
+ struct done_glyph {
void operator() (const GlyphData *glyph_data) {
FT_Done_Glyph(glyph_data->get_glyph());
delete glyph_data;