diff options
-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 1f579c922..6060b621f 100644 --- a/src/client/rspamc.cxx +++ b/src/client/rspamc.cxx @@ -346,7 +346,7 @@ struct rspamc_callback_data { }; template<typename T> -static auto emphasis_argument(const T &arg, const char *fmt_string = "{}") -> auto { +static consteval auto emphasis_argument(const T &arg, const char *fmt_string = "{}") -> auto { if (tty) { return fmt::format(fmt::emphasis::bold, fmt_string, arg); } |