summaryrefslogtreecommitdiff
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-04-02 16:40:18 +0200
committerMax Kellermann <max@musicpd.org>2020-04-02 17:16:05 +0200
commit9c66b0414a02ff03fcf3c122dbeb83d8017ff1b8 (patch)
tree0145bb57656e208ede8e102059804ad0eb17ecca /test/DumpDatabase.cxx
parent4d453a8313c1eab29880666f3e34164c4e73d35c (diff)
test/*: fix Windows build using class FromNarrowPath
Diffstat (limited to 'test/DumpDatabase.cxx')
-rw-r--r--test/DumpDatabase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index 76315c133..39801baf2 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -29,6 +29,7 @@
#include "ConfigGlue.hxx"
#include "tag/Config.hxx"
#include "fs/Path.hxx"
+#include "fs/NarrowPath.hxx"
#include "event/Thread.hxx"
#include "util/ScopeExit.hxx"
#include "util/PrintException.hxx"
@@ -107,7 +108,7 @@ try {
return 1;
}
- const Path config_path = Path::FromFS(argv[1]);
+ const FromNarrowPath config_path = argv[1];
const char *const plugin_name = argv[2];
const DatabasePlugin *plugin = GetDatabasePluginByName(plugin_name);