diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-17 20:16:12 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-17 20:27:46 +0200 |
commit | af33a9f4b8d656cd403ec9a087a436ad7bf3a594 (patch) | |
tree | 11c568474fc98f89b34dc7f4517329da03b8f5b4 /test/DumpDatabase.cxx | |
parent | e9a45708916da57dddc0cfff00c7e06ff3c47fb6 (diff) |
config/Block: allow moving name and 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 43e45e184..aa04304b5 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -135,7 +135,7 @@ try { const auto *path = config_get_param(ConfigOption::DB_FILE); ConfigBlock block(path != nullptr ? path->line : -1); if (path != nullptr) - block.AddBlockParam("path", path->value.c_str(), path->line); + block.AddBlockParam("path", path->value, path->line); Database *db = plugin->create(init.GetEventLoop(), init.GetEventLoop(), |