Style: Apply clang-tidy fixes

• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
This commit is contained in:
Thaddeus Crews
2024-06-21 11:19:04 -05:00
parent 1bffd6c73b
commit 89a311205f
21 changed files with 37 additions and 47 deletions

View File

@ -139,7 +139,7 @@ private:
Variant metadata;
bool clickable = false;
Ref<Texture2D> icon = Ref<Texture2D>();
Ref<Texture2D> icon;
String text = "";
Color color = Color(1, 1, 1);
};