LibGUI: Explicitly default initialize class members

This commit is contained in:
Lucas CHOLLET 2022-05-17 20:40:00 +02:00 committed by Andreas Kling
commit 0bcfbdb072
Notes: sideshowbarker 2024-07-17 08:55:13 +09:00
2 changed files with 3 additions and 3 deletions

View file

@ -373,7 +373,7 @@ private:
bool m_cursor_line_highlighting { true };
size_t m_soft_tab_width { 4 };
int m_horizontal_content_padding { 3 };
TextRange m_selection;
TextRange m_selection {};
Optional<u32> m_substitution_code_point;
mutable OwnPtr<Vector<u32>> m_substitution_string_data; // Used to avoid repeated String construction.