diff options
author | Max Kellermann <max@duempel.org> | 2015-01-21 22:36:13 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-01-21 23:30:00 +0100 |
commit | 1c3f5517fabc264d7b37935bd37197cdd68250ba (patch) | |
tree | 509f68fe930e79bfa4c70a1cf2146a347f8acdef /test/DumpDatabase.cxx | |
parent | 10972da06030d57429dc2c86c21e37fd0aca88dc (diff) |
config/Option: convert to strictly-typed enum
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r-- | test/DumpDatabase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index 95c77abbb..4c5372694 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -120,7 +120,7 @@ main(int argc, char **argv) /* do it */ - const struct config_param *path = config_get_param(CONF_DB_FILE); + const auto *path = config_get_param(ConfigOption::DB_FILE); config_param param("database", path != nullptr ? path->line : -1); if (path != nullptr) param.AddBlockParam("path", path->value.c_str(), path->line); |