aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.cxx
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-06-11 12:24:23 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-06-11 12:24:23 +0100
commit48297adf9639ed9711c55560a26a09bee3da9dd7 (patch)
tree8ce050732b0c8569c4e919eef7cc30a758d3e0bb /src/client/rspamc.cxx
parent7116d3b8fe6605817d3fd9760562883d1976fa4c (diff)
downloadrspamd-48297adf9639ed9711c55560a26a09bee3da9dd7.tar.gz
rspamd-48297adf9639ed9711c55560a26a09bee3da9dd7.zip
[Minor] Simplify array_of using types deduction
Diffstat (limited to 'src/client/rspamc.cxx')
-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 2a2332bca..b7341be4f 100644
--- a/src/client/rspamc.cxx
+++ b/src/client/rspamc.cxx
@@ -214,7 +214,7 @@ struct rspamc_command {
void (*command_output_func)(FILE *, ucl_object_t *obj);
};
-static const constexpr auto rspamc_commands = rspamd::array_of<rspamc_command>(
+static const constexpr auto rspamc_commands = rspamd::array_of(
rspamc_command{
.cmd = RSPAMC_COMMAND_SYMBOLS,
.name = "symbols",