From df7eb1dcccd3af3554c9c6fd1656913b779bb1cb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 6 Jul 2016 15:43:54 -0500 Subject: [PATCH] Avoid C++11 initialization of std::ofstream. --- tests/fe/mapping_q_manifold_01.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fe/mapping_q_manifold_01.cc b/tests/fe/mapping_q_manifold_01.cc index a3336d13fc..2f3d92515f 100644 --- a/tests/fe/mapping_q_manifold_01.cc +++ b/tests/fe/mapping_q_manifold_01.cc @@ -182,7 +182,7 @@ void test(const FiniteElement &fe) << diff.l2_norm() << std::endl; DataOut data_out; - std::ofstream output("output_" + Utilities::int_to_string(mapping_p) + ".vtk"); + std::ofstream output(("output_" + Utilities::int_to_string(mapping_p) + ".vtk").c_str()); data_out.attach_dof_handler (dof_handler); data_out.add_data_vector(v, "v"); data_out.add_data_vector(diff, "e"); -- 2.39.5