diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 9ec64d0..bc38068 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -193,7 +193,7 @@ class TemporaryDirectory static void generateFile(const fs::path& pathname, int withSize = -1) { - fs::ofstream outfile(pathname.string()); + fs::ofstream outfile(pathname); if (withSize < 0) { outfile << "Hello world!" << std::endl; }