Skip to content

Commit e4e6246

Browse files
committed
refs #17, fix for wrong use of fs::ofstream
1 parent b5e18c8 commit e4e6246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/filesystem_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ class TemporaryDirectory
193193

194194
static void generateFile(const fs::path& pathname, int withSize = -1)
195195
{
196-
fs::ofstream outfile(pathname.string());
196+
fs::ofstream outfile(pathname);
197197
if (withSize < 0) {
198198
outfile << "Hello world!" << std::endl;
199199
}

0 commit comments

Comments
 (0)