LibGfx: Mark BitmapFont::try_clone() as virtual

This commit is contained in:
Sam Atkins 2023-10-02 12:02:23 +01:00 committed by Tim Schumacher
parent a1c24ef3ad
commit 89ef3ed4ce
Notes: sideshowbarker 2024-07-17 02:59:43 +09:00

View file

@ -21,7 +21,7 @@ namespace Gfx {
class BitmapFont final : public Font {
public:
virtual NonnullRefPtr<Font> clone() const override;
ErrorOr<NonnullRefPtr<Font>> try_clone() const override;
virtual ErrorOr<NonnullRefPtr<Font>> try_clone() const override;
static ErrorOr<NonnullRefPtr<BitmapFont>> create(u8 glyph_height, u8 glyph_width, bool fixed, size_t glyph_count);
virtual FontPixelMetrics pixel_metrics() const override;