diff options
author | Max Kellermann <max@duempel.org> | 2013-10-15 22:32:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-15 22:49:01 +0200 |
commit | 7de96275dd6e3b6997e799413e4537561041e199 (patch) | |
tree | 4eab0c018168c14eb22f9e086917d16ef3f8f6a8 /test/DumpDatabase.cxx | |
parent | e13d0bf65653550c4cfe3f879441139f5242d8b1 (diff) |
ConfigData: use std::string for config_param::value
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 395ff4f23..21a12d294 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -113,7 +113,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) - param.AddBlockParam("path", path->value, path->line); + param.AddBlockParam("path", path->value.c_str(), path->line); Database *db = plugin->create(param, error); |