From 4acf61f0503352b8db7009ba8130288f84f73512 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 19 Jun 2022 13:11:00 +0100 Subject: [PATCH] [Minor] Another try to fix emphasis function --- src/client/rspamc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/rspamc.cxx b/src/client/rspamc.cxx index a1028cc51..29ebee043 100644 --- a/src/client/rspamc.cxx +++ b/src/client/rspamc.cxx @@ -346,7 +346,7 @@ struct rspamc_callback_data { }; template -static consteval auto emphasis_argument(const T &arg, const char *fmt_string = "{}") -> auto { +static constexpr auto emphasis_argument(const T &arg, const char *fmt_string = "{}") -> auto { if (tty) { return fmt::format(fmt::emphasis::bold, fmt_string, arg); } -- 2.39.5