aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigTemplates.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigTemplates.cxx')
-rw-r--r--src/config/ConfigTemplates.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigTemplates.cxx b/src/config/ConfigTemplates.cxx
index 1949a5ff1..8f01d4104 100644
--- a/src/config/ConfigTemplates.cxx
+++ b/src/config/ConfigTemplates.cxx
@@ -84,7 +84,7 @@ const ConfigTemplate config_templates[] = {
static constexpr unsigned n_config_templates = ARRAY_SIZE(config_templates);
-static_assert(n_config_templates == unsigned(CONF_MAX),
+static_assert(n_config_templates == unsigned(ConfigOption::MAX),
"Wrong number of config_templates");
ConfigOption
@@ -94,5 +94,5 @@ ParseConfigOptionName(const char *name)
if (strcmp(config_templates[i].name, name) == 0)
return ConfigOption(i);
- return CONF_MAX;
+ return ConfigOption::MAX;
}