From: Wolfgang Bangerth Date: Tue, 30 Apr 2024 15:19:11 +0000 (+0530) Subject: Add a missing 'const'. X-Git-Tag: v9.6.0-rc1~335^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de1e3ca77f14247f10e24e07c962f20735d86c7f;p=dealii.git Add a missing 'const'. --- diff --git a/examples/step-2/step-2.cc b/examples/step-2/step-2.cc index 6656ebbea6..185b089397 100644 --- a/examples/step-2/step-2.cc +++ b/examples/step-2/step-2.cc @@ -131,7 +131,7 @@ void make_grid(Triangulation<2> &triangulation) void write_dof_locations(const DoFHandler<2> &dof_handler, const std::string &filename) { - std::map> dof_location_map = + const std::map> dof_location_map = DoFTools::map_dofs_to_support_points(MappingQ1<2>(), dof_handler); std::ofstream dof_location_file(filename);