From 89ef3ed4ce29a6c276d9da951e0cc5e44a7c548d Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Mon, 2 Oct 2023 12:02:23 +0100 Subject: [PATCH] LibGfx: Mark BitmapFont::try_clone() as virtual --- Userland/Libraries/LibGfx/Font/BitmapFont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGfx/Font/BitmapFont.h b/Userland/Libraries/LibGfx/Font/BitmapFont.h index 8a2dee3117..438843a4dc 100644 --- a/Userland/Libraries/LibGfx/Font/BitmapFont.h +++ b/Userland/Libraries/LibGfx/Font/BitmapFont.h @@ -21,7 +21,7 @@ namespace Gfx { class BitmapFont final : public Font { public: virtual NonnullRefPtr clone() const override; - ErrorOr> try_clone() const override; + virtual ErrorOr> try_clone() const override; static ErrorOr> create(u8 glyph_height, u8 glyph_width, bool fixed, size_t glyph_count); virtual FontPixelMetrics pixel_metrics() const override;