mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
LibGUI: Explicitly default initialize class members
This commit is contained in:
parent
aafcdc4c72
commit
0bcfbdb072
2 changed files with 3 additions and 3 deletions
|
@ -373,7 +373,7 @@ private:
|
||||||
bool m_cursor_line_highlighting { true };
|
bool m_cursor_line_highlighting { true };
|
||||||
size_t m_soft_tab_width { 4 };
|
size_t m_soft_tab_width { 4 };
|
||||||
int m_horizontal_content_padding { 3 };
|
int m_horizontal_content_padding { 3 };
|
||||||
TextRange m_selection;
|
TextRange m_selection {};
|
||||||
|
|
||||||
Optional<u32> m_substitution_code_point;
|
Optional<u32> m_substitution_code_point;
|
||||||
mutable OwnPtr<Vector<u32>> m_substitution_string_data; // Used to avoid repeated String construction.
|
mutable OwnPtr<Vector<u32>> m_substitution_string_data; // Used to avoid repeated String construction.
|
||||||
|
|
|
@ -61,8 +61,8 @@ private:
|
||||||
TextPosition normalized_start() const { return m_start < m_end ? m_start : m_end; }
|
TextPosition normalized_start() const { return m_start < m_end ? m_start : m_end; }
|
||||||
TextPosition normalized_end() const { return m_start < m_end ? m_end : m_start; }
|
TextPosition normalized_end() const { return m_start < m_end ? m_end : m_start; }
|
||||||
|
|
||||||
TextPosition m_start;
|
TextPosition m_start {};
|
||||||
TextPosition m_end;
|
TextPosition m_end {};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue