mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
clang-tidy: use default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Jari Sundell
parent
3ab38583b8
commit
897a6face2
@@ -61,7 +61,6 @@ public:
|
||||
|
||||
using base_type::push_back;
|
||||
|
||||
TextElementList() : m_column(0), m_columnWidth(0) {}
|
||||
virtual ~TextElementList() { clear(); }
|
||||
|
||||
void clear();
|
||||
@@ -74,8 +73,8 @@ public:
|
||||
virtual extent_type max_length();
|
||||
|
||||
private:
|
||||
unsigned int m_column;
|
||||
extent_type* m_columnWidth;
|
||||
unsigned int m_column{};
|
||||
extent_type* m_columnWidth{};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user