rest of virtuals removed

virtuals removed and replaced with override where necessary on the rest of the code base, clang-tidy to the rescue.
This commit is contained in:
marauder2k7 2024-03-18 18:40:22 +00:00
parent efbe5e90f5
commit 2b295fb7f0
454 changed files with 4162 additions and 4156 deletions

View file

@ -38,23 +38,23 @@ public:
virtual ~WinFont();
// PlatformFont virtual methods
virtual bool isValidChar(const UTF16 ch) const;
virtual bool isValidChar(const UTF8 *str) const;
bool isValidChar(const UTF16 ch) const override;
bool isValidChar(const UTF8 *str) const override;
inline virtual U32 getFontHeight() const
inline U32 getFontHeight() const override
{
return mTextMetric.tmHeight;
}
inline virtual U32 getFontBaseLine() const
inline U32 getFontBaseLine() const override
{
return mTextMetric.tmAscent;
}
virtual PlatformFont::CharInfo &getCharInfo(const UTF16 ch) const;
virtual PlatformFont::CharInfo &getCharInfo(const UTF8 *str) const;
PlatformFont::CharInfo &getCharInfo(const UTF16 ch) const override;
PlatformFont::CharInfo &getCharInfo(const UTF8 *str) const override;
virtual bool create(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET);
bool create(const char *name, dsize_t size, U32 charset = TGE_ANSI_CHARSET) override;
};
#endif // _WINFONT_H_