aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/Configured.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/Configured.cxx')
-rw-r--r--src/db/Configured.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/Configured.cxx b/src/db/Configured.cxx
index 7bdd10b56..5d53e5951 100644
--- a/src/db/Configured.cxx
+++ b/src/db/Configured.cxx
@@ -32,8 +32,8 @@ Database *
CreateConfiguredDatabase(EventLoop &loop, DatabaseListener &listener,
Error &error)
{
- const struct config_param *param = config_get_param(CONF_DATABASE);
- const struct config_param *path = config_get_param(CONF_DB_FILE);
+ const auto *param = config_get_param(ConfigOption::DATABASE);
+ const auto *path = config_get_param(ConfigOption::DB_FILE);
if (param != nullptr && path != nullptr) {
error.Format(config_domain,