diff --git a/Runtime/GuiSys/CDrawStringOptions.hpp b/Runtime/GuiSys/CDrawStringOptions.hpp index 43523df2f..749aa2882 100644 --- a/Runtime/GuiSys/CDrawStringOptions.hpp +++ b/Runtime/GuiSys/CDrawStringOptions.hpp @@ -18,7 +18,7 @@ class CDrawStringOptions { std::vector x4_colors; public: - CDrawStringOptions() { x4_colors.resize(16); } + CDrawStringOptions() : x4_colors(16) {} }; } // namespace urde