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 587eecdb2..4832ee17e 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 <cerrno>
@@ -55,7 +56,7 @@ try {
return EXIT_FAILURE;
}
- const Path path = Path::FromFS(argv[1]);
+ const FromNarrowPath path = argv[1];
FileOutputStream fos(path);