Skip to content

Commit

Permalink
refs #17, fix for wrong use of fs::ofstream
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Jun 2, 2019
1 parent b5e18c8 commit e4e6246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/filesystem_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e4e6246

Please sign in to comment.