From 360c75355c014bdb7be5051ea41460a777781ba4 Mon Sep 17 00:00:00 2001 From: ExMatics HydrogenC <33123710+HydrogenC@users.noreply.github.com> Date: Sun, 3 Dec 2023 16:04:50 +0800 Subject: [PATCH] Fix build error under non-windows platforms --- Source/Engine/Render2D/Font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Render2D/Font.cpp b/Source/Engine/Render2D/Font.cpp index 9f28aac01..9a2037b3f 100644 --- a/Source/Engine/Render2D/Font.cpp +++ b/Source/Engine/Render2D/Font.cpp @@ -103,7 +103,7 @@ void Font::Invalidate() _characters.Clear(); } -inline API_FUNCTION() float Font::GetMaxHeight(FontFallbackList* fallbacks) const +float Font::GetMaxHeight(FontFallbackList* fallbacks) const { float height = GetHeight(); auto& fallbackFonts = fallbacks->GetFontList(GetSize());