From: Wolfgang Bangerth Date: Wed, 26 Sep 2007 16:26:34 +0000 (+0000) Subject: Remove 'const' from the keys of a map, since they are implicitly already const. xlC... X-Git-Tag: v8.0.0~9811 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cc3016aae21eaeeb2f40a1fcddf5096ed4964fa;p=dealii.git Remove 'const' from the keys of a map, since they are implicitly already const. xlC nevertheless produces an error with this construct, so give it a break. git-svn-id: https://svn.dealii.org/trunk@15253 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_tools.cc b/deal.II/deal.II/source/fe/fe_tools.cc index ed50d20c07..7408578ba6 100644 --- a/deal.II/deal.II/source/fe/fe_tools.cc +++ b/deal.II/deal.II/source/fe/fe_tools.cc @@ -68,10 +68,10 @@ namespace #ifdef DEAL_II_ANON_NAMESPACE_BUG static #endif - std::map + std::map get_default_fe_names () { - std::map default_map; + std::map default_map; default_map["FE_Q_Hierarchical"] = FEFactoryPointer(new FETools::FEFactory >); @@ -136,7 +136,7 @@ namespace // there are no thread-safety // issues here static - std::map > > fe_name_map = get_default_fe_names ();