From f3af6c7e5b46f4209a4981e5d7be217368f40b15 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 8 Feb 2024 15:12:29 +0800 Subject: Get rid of GSL. --- src/ui/controls/TextBlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/controls/TextBlock.cpp') diff --git a/src/ui/controls/TextBlock.cpp b/src/ui/controls/TextBlock.cpp index 79c66865..0dad4f5d 100644 --- a/src/ui/controls/TextBlock.cpp +++ b/src/ui/controls/TextBlock.cpp @@ -47,7 +47,7 @@ void TextBlock::SetTextColor(const Color& color) { GetUiApplication()->GetGraphicsFactory()->CreateSolidColorBrush(color)); } -gsl::not_null TextBlock::GetTextRenderObject() { +render::TextRenderObject* TextBlock::GetTextRenderObject() { return text_render_object_.get(); } } // namespace cru::ui::controls -- cgit v1.2.3