]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove 'const' from the keys of a map, since they are implicitly already const. xlC...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2007 16:26:34 +0000 (16:26 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 26 Sep 2007 16:26:34 +0000 (16:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@15253 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_tools.cc

index ed50d20c07b168045068fb7eb20a7568c8595780..7408578ba6beaa9e95867f81a32740180e069ab2 100644 (file)
@@ -68,10 +68,10 @@ namespace
 #ifdef DEAL_II_ANON_NAMESPACE_BUG
     static
 #endif  
-  std::map<const std::string,FEFactoryPointer>
+  std::map<std::string,FEFactoryPointer>
   get_default_fe_names ()
   {
-    std::map<const std::string,FEFactoryPointer> default_map;
+    std::map<std::string,FEFactoryPointer> default_map;
 
     default_map["FE_Q_Hierarchical"]
       = FEFactoryPointer(new FETools::FEFactory<FE_Q_Hierarchical<deal_II_dimension> >);
@@ -136,7 +136,7 @@ namespace
                                    // there are no thread-safety
                                    // issues here
   static
-  std::map<const std::string,
+  std::map<std::string,
           boost::shared_ptr<const FETools::FEFactoryBase<deal_II_dimension> > >
   fe_name_map
   = get_default_fe_names ();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.