Execute clang tidy and IWYU (#528)

This commit is contained in:
Arthur Sonzogni
2022-12-19 18:51:25 +01:00
committed by ArthurSonzogni
parent 4dc1a9fff9
commit 0542227ba7
55 changed files with 315 additions and 298 deletions

View File

@@ -27,7 +27,7 @@ class Text : public Node {
void Render(Screen& screen) override {
int x = box_.x_min;
int y = box_.y_min;
const int y = box_.y_min;
if (y > box_.y_max) {
return;
}
@@ -55,7 +55,7 @@ class VText : public Node {
}
void Render(Screen& screen) override {
int x = box_.x_min;
const int x = box_.x_min;
int y = box_.y_min;
if (x + width_ - 1 > box_.x_max) {
return;