summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-19 13:11:00 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-19 13:11:00 +0100
commit4acf61f0503352b8db7009ba8130288f84f73512 (patch)
tree6308ea97f2b0243a3953bbb49ce64737682b18c2 /src/client
parentec774c1f477e6e6d15256872bc01fe2fc8987151 (diff)
downloadrspamd-4acf61f0503352b8db7009ba8130288f84f73512.tar.gz
rspamd-4acf61f0503352b8db7009ba8130288f84f73512.zip
[Minor] Another try to fix emphasis function
Diffstat (limited to 'src/client')
-rw-r--r--src/client/rspamc.cxx2
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);
}