mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Apply Clang-tidy (#918)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user