Skip to content

Commit

Permalink
Merge pull request #6142 from tjhei/ofstream-out-default
Browse files Browse the repository at this point in the history
remove std::ofstream default arg
  • Loading branch information
gassmoeller authored Nov 8, 2024
2 parents 5a1123d + bc10f1b commit 99e8188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/postprocess/depth_average.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ namespace aspect
else
{
const std::string filename (this->get_output_directory() + "depth_average.txt");
std::ofstream f(filename, std::ofstream::out);
std::ofstream f(filename);

// Write the header
f << "# time" << " depth";
Expand Down

0 comments on commit 99e8188

Please sign in to comment.