mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-05 21:59:21 +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
@@ -49,9 +49,7 @@
|
||||
namespace ui {
|
||||
|
||||
ElementText::ElementText(rpc::target_type target) :
|
||||
m_window(new WindowText(target)),
|
||||
m_column(0),
|
||||
m_columnWidth(0) {
|
||||
m_window(new WindowText(target)) {
|
||||
|
||||
// Move bindings into a function that defines default bindings.
|
||||
m_bindings[KEY_LEFT] = m_bindings['B' - '@'] = std::bind(&slot_type::operator(), &m_slot_exit);
|
||||
|
||||
Reference in New Issue
Block a user