Skip to content

Commit

Permalink
Fix LTO warning
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Jun 9, 2024
1 parent 255fcb4 commit 9270120
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/momo/html_ui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ namespace momo
resolve_html_value<std::remove_cv_t<std::remove_reference_t<Args>>>(args, index)...
};

(void)index;

if constexpr (std::is_same_v<Return, void>)
{
std::apply(fun, std::move(func_args));
Expand Down

0 comments on commit 9270120

Please sign in to comment.