From e4e6246eaa99e978a08b94e4890f060739004c71 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sun, 2 Jun 2019 09:33:19 +0200 Subject: [PATCH] refs #17, fix for wrong use of fs::ofstream --- test/filesystem_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }