Apply Clang-tidy (#918)

This commit is contained in:
Arthur Sonzogni
2024-08-16 11:19:51 +02:00
committed by GitHub
parent 535290bb3b
commit f5d8c7deb5
32 changed files with 160 additions and 110 deletions

View File

@@ -205,7 +205,7 @@ Component Button(ButtonOption option) {
Component Button(ConstStringRef label,
std::function<void()> on_click,
ButtonOption option) {
option.label = label;
option.label = std::move(label);
option.on_click = std::move(on_click);
return Make<ButtonBase>(std::move(option));
}