From: Wolfgang Bangerth Date: Wed, 6 Jul 2016 20:43:54 +0000 (-0500) Subject: Avoid C++11 initialization of std::ofstream. X-Git-Tag: v8.5.0-rc1~923^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7eb1dcccd3af3554c9c6fd1656913b779bb1cb;p=dealii.git Avoid C++11 initialization of std::ofstream. --- 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");