From 36f68e505a5a2f4e81cf18a2082755fbf5658546 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Tue, 30 Apr 2024 13:47:43 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20widgets:=20refactor=20a=20bit=20?= =?UTF-8?q?3x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }