From 92701201e30967e44f87e48ada43bd938a81447d Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 9 Jun 2024 16:45:39 +0200 Subject: [PATCH] Fix LTO warning --- include/momo/html_ui.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/momo/html_ui.hpp b/include/momo/html_ui.hpp index 2ba2682..564e74f 100644 --- a/include/momo/html_ui.hpp +++ b/include/momo/html_ui.hpp @@ -38,6 +38,8 @@ namespace momo resolve_html_value>>(args, index)... }; + (void)index; + if constexpr (std::is_same_v) { std::apply(fun, std::move(func_args));