From 2937e00a39c23bfa025cdf8d7b40c1e3d2151e67 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 22 Mar 2020 20:17:32 -0600 Subject: [PATCH] Simplify code a bit. --- examples/step-11/step-11.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); } -- 2.39.5