From: Wolfgang Bangerth Date: Mon, 23 Mar 2020 02:17:32 +0000 (-0600) Subject: Simplify code a bit. X-Git-Tag: v9.2.0-rc1~378^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2937e00a39c23bfa025cdf8d7b40c1e3d2151e67;p=dealii.git Simplify code a bit. --- diff --git a/examples/step-11/step-11.cc b/examples/step-11/step-11.cc index 10625546f4..2424e1abfa 100644 --- a/examples/step-11/step-11.cc +++ b/examples/step-11/step-11.cc @@ -442,9 +442,8 @@ namespace Step11 mapping.get_degree(), DataOut::curved_inner_cells); - std::ofstream file(("solution-c=" + std::to_string(cycle) + - ".p=" + std::to_string(mapping.get_degree()) + ".vtu") - .c_str()); + std::ofstream file("solution-c=" + std::to_string(cycle) + + ".p=" + std::to_string(mapping.get_degree()) + ".vtu"); data_out.write_vtu(file); }