From: Wolfgang Bangerth Date: Mon, 30 May 2022 17:17:56 +0000 (-0600) Subject: Modernize code. X-Git-Tag: v9.4.0-rc1~111^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13861%2Fhead;p=dealii.git Modernize code. --- diff --git a/source/base/data_out_base.cc b/source/base/data_out_base.cc index a6794da7ba..5844e00262 100644 --- a/source/base/data_out_base.cc +++ b/source/base/data_out_base.cc @@ -8007,7 +8007,7 @@ DataOutInterface::write_xdmf_file( // Only rank 0 process writes the XDMF file if (myrank == 0) { - std::ofstream xdmf_file(filename.c_str()); + std::ofstream xdmf_file(filename); xdmf_file << "\n"; xdmf_file << "\n";