From c5d90fe82e819cd9a31b816d7b9a59bc94470222 Mon Sep 17 00:00:00 2001 From: zhenyan121 <3367366583@qq.com> Date: Fri, 17 Jul 2026 16:56:26 +0800 Subject: [PATCH] fix(ui): initialize m_app pointer to nullptr --- include/Cubed/ui/text_field.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Cubed/ui/text_field.hpp b/include/Cubed/ui/text_field.hpp index a20dc8b..7f98d5e 100644 --- a/include/Cubed/ui/text_field.hpp +++ b/include/Cubed/ui/text_field.hpp @@ -47,7 +47,7 @@ private: static constexpr const char* DEFAULT_TEXT_FIELD_IMAGE = "texture/ui/textfield001.png"; - App* m_app; + App* m_app = nullptr; std::unique_ptr m_background; std::unique_ptr