diff --git a/source/postprocess/depth_average.cc b/source/postprocess/depth_average.cc index 7e3f89e4d79..fc93b226b7a 100644 --- a/source/postprocess/depth_average.cc +++ b/source/postprocess/depth_average.cc @@ -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";