diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-19 13:11:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-19 13:11:00 +0100 |
commit | 4acf61f0503352b8db7009ba8130288f84f73512 (patch) | |
tree | 6308ea97f2b0243a3953bbb49ce64737682b18c2 /src/client | |
parent | ec774c1f477e6e6d15256872bc01fe2fc8987151 (diff) | |
download | rspamd-4acf61f0503352b8db7009ba8130288f84f73512.tar.gz rspamd-4acf61f0503352b8db7009ba8130288f84f73512.zip |
[Minor] Another try to fix emphasis function
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/rspamc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename T> -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); } |