diff --git a/include/momo/html_ui.hpp b/include/momo/html_ui.hpp index 34fc001..ddcd1f5 100644 --- a/include/momo/html_ui.hpp +++ b/include/momo/html_ui.hpp @@ -33,19 +33,19 @@ namespace momo } size_t index = 0; - std::tuple args + std::tuple func_args { resolve_html_value>>(args, index)... }; if constexpr (std::is_same_v) { - std::apply(fun, std::move(args)); + std::apply(fun, std::move(func_args)); return {}; } else { - auto ret = std::apply(fun, std::move(args)); + auto ret = std::apply(fun, std::move(func_args)); return html_value(std::move(ret)); } };