From a5a1b8784c1776508785fffeec2d96b9835e3925 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Tue, 3 Oct 2023 07:55:07 +0200 Subject: [PATCH] Fix compilation --- include/momo/html_ui.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); } };