From b65022a8d97bff4c335a0aa91d2071fc271ec64c Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 12 Apr 2009 04:30:39 +0000 Subject: [PATCH] Make more variables const. Rename to match common coding style. git-svn-id: https://svn.dealii.org/trunk@18594 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-34/step-34.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-34/step-34.cc b/deal.II/examples/step-34/step-34.cc index 9737b95c3a..2098c91090 100644 --- a/deal.II/examples/step-34/step-34.cc +++ b/deal.II/examples/step-34/step-34.cc @@ -912,15 +912,15 @@ void BEMProblem::compute_exterior_solution() { } } } - DataOut > dataout; + DataOut > data_out; - dataout.attach_dof_handler(external_dh); - dataout.add_data_vector(external_phi, "external_phi"); - dataout.build_patches(); + data_out.attach_dof_handler(external_dh); + data_out.add_data_vector(external_phi, "external_phi"); + data_out.build_patches(); - std::string filename = Utilities::int_to_string(dim) + "d_external.vtk"; + const std::string filename = Utilities::int_to_string(dim) + "d_external.vtk"; std::ofstream file(filename.c_str()); - dataout.write_vtk(file); + data_out.write_vtk(file); } -- 2.39.5