summaryrefslogtreecommitdiff
path: root/test/WriteFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/WriteFile.cxx')
-rw-r--r--test/WriteFile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/WriteFile.cxx b/test/WriteFile.cxx
index 9cba451e9..1feeed1d8 100644
--- a/test/WriteFile.cxx
+++ b/test/WriteFile.cxx
@@ -18,6 +18,7 @@
*/
#include "fs/io/FileOutputStream.hxx"
+#include "fs/NarrowPath.hxx"
#include "util/PrintException.hxx"
#include <unistd.h>
@@ -54,7 +55,7 @@ try {
return EXIT_FAILURE;
}
- const Path path = Path::FromFS(argv[1]);
+ const FromNarrowPath path = argv[1];
FileOutputStream fos(path);