From 5ffbb90fd6c16f4ce2f62b6d81685d20acb71e4f Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 17 Oct 2023 20:12:53 +0400 Subject: [PATCH] Fix build with Xcode. --- ui/text/text.h | 2 +- ui/text/text_renderer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/text/text.h b/ui/text/text.h index bb412a1..d275895 100644 --- a/ui/text/text.h +++ b/ui/text/text.h @@ -76,7 +76,7 @@ static constexpr TextSelection AllTextSelection = { 0, 0xFFFF }; namespace Ui::Text { -struct Block; +class Block; class AbstractBlock; struct IsolatedEmoji; struct OnlyCustomEmoji; diff --git a/ui/text/text_renderer.h b/ui/text/text_renderer.h index 3d39c6f..600ce62 100644 --- a/ui/text/text_renderer.h +++ b/ui/text/text_renderer.h @@ -17,7 +17,7 @@ struct QScriptLine; namespace Ui::Text { -struct AbstractBlock; +class AbstractBlock; struct FixedRange { QFixed from;