diff --git a/tools/util/flags.h b/tools/util/flags.h index c8abfd5ac..20bb3693b 100644 --- a/tools/util/flags.h +++ b/tools/util/flags.h @@ -253,6 +253,10 @@ struct FlagRegistration { } }; +// Explicit deduction guide to avoid `-Wctad-maybe-unsupported`. +template +FlagRegistration(Flag&, std::string&&, bool, bool) -> FlagRegistration; + } // namespace flags #endif // INCLUDE_SPIRV_TOOLS_UTIL_FLAGS_HPP_