mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09: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
@@ -10,13 +10,12 @@ namespace display {
|
||||
class WindowStatusbar : public Window {
|
||||
public:
|
||||
WindowStatusbar() :
|
||||
Window(new Canvas, 0, 0, 1, extent_full, extent_static),
|
||||
m_lastTick(0) {}
|
||||
Window(new Canvas, 0, 0, 1, extent_full, extent_static) {}
|
||||
|
||||
virtual void redraw();
|
||||
|
||||
private:
|
||||
uint64_t m_lastTick;
|
||||
uint64_t m_lastTick{};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user