diff --git a/src/widgets.cpp b/src/widgets.cpp index e6288ea..4e2792e 100644 --- a/src/widgets.cpp +++ b/src/widgets.cpp @@ -92,7 +92,7 @@ Element multiline_text(std::vector&& lines) noexcept { Elements multiline; std::transform(std::make_move_iterator(lines.begin()), std::make_move_iterator(lines.end()), std::back_inserter(multiline), - [=](auto&& line) -> Element { return std::move(text(std::forward(line))); }); + [=](auto&& line) -> Element { return text(std::forward(line)); }); return std::move(vbox(std::move(multiline))) | frame; }