diff --git a/plugins/windows-notification/api/include/ginvoke.hpp b/plugins/windows-notification/api/include/ginvoke.hpp index 3cc20487..9d0b53ab 100644 --- a/plugins/windows-notification/api/include/ginvoke.hpp +++ b/plugins/windows-notification/api/include/ginvoke.hpp @@ -55,8 +55,11 @@ namespace impl std::optional get_if_hresult_error(std::exception_ptr) noexcept; } -template +template,int> = 0> inline auto &describe_argument(OStream &s, const T &a) { return s << a; } +template,int> = 0> +inline auto &describe_argument(OStream &s, const T &a) { return s << static_cast>(a); } + template inline auto &describe_argument(OStream &s, std::string_view const a) { return s << std::quoted(a); } template