test/*: fix Windows build using class FromNarrowPath

This commit is contained in:
Max Kellermann
2020-04-02 16:40:18 +02:00
parent 4d453a8313
commit 9c66b0414a
12 changed files with 30 additions and 19 deletions

View File

@@ -23,6 +23,7 @@
#include "decoder/DecoderList.hxx"
#include "decoder/DecoderPlugin.hxx"
#include "fs/Path.hxx"
#include "fs/NarrowPath.hxx"
#include "fs/io/StdioOutputStream.hxx"
#include "fs/io/BufferedOutputStream.hxx"
#include "util/UriUtil.hxx"
@@ -63,7 +64,7 @@ try {
return EXIT_FAILURE;
}
const Path path = Path::FromFS(argv[1]);
const FromNarrowPath path = argv[1];
const ScopeDecoderPluginsInit decoder_plugins_init({});