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
@@ -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{};
};
}