We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9f2cf commit 1ef21c0Copy full SHA for 1ef21c0
rts/Rendering/Fonts/glFont.h
@@ -99,13 +99,8 @@ class CglFont : public CTextWrap
99
void SetOutlineDepth(float z) { textDepth.y = z; }
100
101
float GetCharacterWidth(const char32_t c);
102
-#if defined(__GNUC__) && (__GNUC__ == 4) && (__GNUC_MINOR__ == 6)
103
- #define _final
104
-#else
105
- #define _final final
106
-#endif
107
- inline float GetTextWidth(const std::string& text) _final;
108
-#undef _final
+
+ inline float GetTextWidth(const std::string& text) override;
109
inline float GetTextHeight(const std::string& text, float* descender = nullptr, int* numLines = nullptr);
110
111
static std::deque<std::string> SplitIntoLines(const std::u8string&);
0 commit comments