summaryrefslogtreecommitdiff
path: root/test/read_conf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/read_conf.cxx')
-rw-r--r--test/read_conf.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/read_conf.cxx b/test/read_conf.cxx
index 5350102f0..eaec60a6d 100644
--- a/test/read_conf.cxx
+++ b/test/read_conf.cxx
@@ -21,6 +21,7 @@
#include "config/Param.hxx"
#include "config/File.hxx"
#include "fs/Path.hxx"
+#include "fs/NarrowPath.hxx"
#include "util/PrintException.hxx"
#include "util/RuntimeError.hxx"
@@ -34,7 +35,7 @@ try {
return EXIT_FAILURE;
}
- const Path config_path = Path::FromFS(argv[1]);
+ const FromNarrowPath config_path = argv[1];
const char *name = argv[2];
const auto option = ParseConfigOptionName(name);