From 929eecbebc145d33354d644eb7d1d32445192743 Mon Sep 17 00:00:00 2001 From: Emanuele Disco Date: Thu, 1 Feb 2024 18:21:28 +0900 Subject: [PATCH] fix compilation errors --- src/gamedata/fonts/v_font.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gamedata/fonts/v_font.h b/src/gamedata/fonts/v_font.h index cdcbd0e9933..df558e10cd3 100644 --- a/src/gamedata/fonts/v_font.h +++ b/src/gamedata/fonts/v_font.h @@ -116,8 +116,6 @@ class FFont inline int StringWidth (const char *str, int spacing = 0) const { return StringWidth ((const uint8_t *)str, spacing); } inline int StringWidth (const FString &str, int spacing = 0) const { return StringWidth ((const uint8_t *)str.GetChars(), spacing); } - inline bool CanPrint(const uint8_t *str) const { return true; } // hack hack - // Checks if the font contains all characters to print this text. bool CanPrint(const uint8_t *str) const; inline bool CanPrint(const char *str) const { return CanPrint((const uint8_t *)str); }