Cleanup. (IWYU, clang-tidy, etc...)

This commit is contained in:
ArthurSonzogni
2023-08-13 07:49:37 +02:00
parent 06ba1c10b9
commit 8058e1af6c
6 changed files with 1029 additions and 1018 deletions

View File

@@ -205,7 +205,8 @@ class SliderBase : public ComponentBase {
class SliderWithLabel : public ComponentBase {
public:
SliderWithLabel(ConstStringRef label, Component inner) : label_(label) {
SliderWithLabel(ConstStringRef label, Component inner)
: label_(std::move(label)) {
Add(std::move(inner));
SetActiveChild(ChildAt(0));
}