aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/TextBlock.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-02-08 15:12:29 +0800
committercrupest <crupest@outlook.com>2024-02-08 15:12:29 +0800
commitf3af6c7e5b46f4209a4981e5d7be217368f40b15 (patch)
treee932747ad91a718abb667a6170b21f1521a04d1e /src/ui/controls/TextBlock.cpp
parentbfe23251a54b036abef9241ba0994c9e51db25b2 (diff)
downloadcru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.tar.gz
cru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.tar.bz2
cru-f3af6c7e5b46f4209a4981e5d7be217368f40b15.zip
Get rid of GSL.
Diffstat (limited to 'src/ui/controls/TextBlock.cpp')
-rw-r--r--src/ui/controls/TextBlock.cpp2
1 files changed, 1 insertions, 1 deletions
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<render::TextRenderObject*> TextBlock::GetTextRenderObject() {
+render::TextRenderObject* TextBlock::GetTextRenderObject() {
return text_render_object_.get();
}
} // namespace cru::ui::controls