Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Oct 3, 2023
1 parent 52372fe commit a5a1b87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/momo/html_ui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ namespace momo
}

size_t index = 0;
std::tuple args
std::tuple func_args
{
resolve_html_value<std::remove_cv_t<std::remove_reference_t<Args>>>(args, index)...
};

if constexpr (std::is_same_v<Return, void>)
{
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));
}
};
Expand Down

0 comments on commit a5a1b87

Please sign in to comment.