From 3cc3016aae21eaeeb2f40a1fcddf5096ed4964fa Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 26 Sep 2007 16:26:34 +0000 Subject: [PATCH] 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 --- deal.II/deal.II/source/fe/fe_tools.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 (); -- 2.39.5