Fix compiler nits.

This commit is contained in:
ArthurSonzogni
2025-03-22 17:30:34 +01:00
parent 96e8b8d92e
commit bc682d25a6
15 changed files with 43 additions and 29 deletions

View File

@@ -553,7 +553,7 @@ const Screen::SelectionStyle& Screen::GetSelectionStyle() const {
/// @brief Set the current selection style.
/// @see GetSelectionStyle
void Screen::SetSelectionStyle(SelectionStyle decorator) {
selection_style_ = decorator;
selection_style_ = std::move(decorator);
}
} // namespace ftxui