diff options
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r-- | test/DumpDatabase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index 172d00491..ba0e74e43 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -108,8 +108,7 @@ main(int argc, char **argv) const struct config_param *path = config_get_param(CONF_DB_FILE); config_param param("database", path->line); if (path != nullptr) - config_add_block_param(¶m, "path", path->value, - path->line); + param.AddBlockParam("path", path->value, path->line); Database *db = plugin->create(¶m, &error); |