clang-tidy: use default member init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-05-29 17:06:35 -07:00
committed by Jari Sundell
parent 3ab38583b8
commit 897a6face2
67 changed files with 119 additions and 211 deletions
+2 -3
View File
@@ -54,8 +54,7 @@ public:
using Base::size_type;
using Base::npos;
TextInput() : m_pos(0) {}
virtual ~TextInput() {}
virtual ~TextInput() = default;
size_type get_pos() { return m_pos; }
void set_pos(size_type pos) { m_pos = pos; }
@@ -72,7 +71,7 @@ public:
Bindings& bindings() { return m_bindings; }
private:
size_type m_pos;
size_type m_pos{};
slot_void m_slot_dirty;