mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Fix compiler nits.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user