From a0ce9bf55d9b667799907f66e0096d9065ca7b83 Mon Sep 17 00:00:00 2001 From: ArthurSonzogni Date: Sun, 19 Oct 2025 17:08:39 +0200 Subject: [PATCH] Fix previous patch. --- include/ftxui/dom/take_any_args.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ftxui/dom/take_any_args.hpp b/include/ftxui/dom/take_any_args.hpp index 99fbd7ee..be34ac24 100644 --- a/include/ftxui/dom/take_any_args.hpp +++ b/include/ftxui/dom/take_any_args.hpp @@ -27,6 +27,10 @@ Elements unpack(Args... args) { // Make |container| able to take any number of arguments. #define TAKE_ANY_ARGS(container) \ + inline Element container(Element child) { \ + return container(unpack(std::move(child))); \ + } \ + \ template \ inline Element container(Args... children) { \ return container(unpack(std::forward(children)...)); \