aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigTemplates.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigTemplates.hxx')
-rw-r--r--src/config/ConfigTemplates.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/ConfigTemplates.hxx b/src/config/ConfigTemplates.hxx
index 1aa6c6e8d..7b01ad40f 100644
--- a/src/config/ConfigTemplates.hxx
+++ b/src/config/ConfigTemplates.hxx
@@ -23,6 +23,10 @@
struct ConfigTemplate {
const char *const name;
const bool repeatable;
+
+ constexpr ConfigTemplate(const char *_name,
+ bool _repeatable=false)
+ :name(_name), repeatable(_repeatable) {}
};
extern const ConfigTemplate config_param_templates[];