]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disambiguate call to vector::push_back to make gcc 4.8 happy.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Sep 2012 11:56:15 +0000 (11:56 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 8 Sep 2012 11:56:15 +0000 (11:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@26256 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/base/parameter_handler.h

index e7643d852da77d55e5249467e5af13e1782e0277..9a81d2a33a0ef859eb6c24ca7b7b6cc963c61365 100644 (file)
@@ -2866,7 +2866,7 @@ ParameterHandler::load (Archive & ar, const unsigned int)
 
   patterns.clear ();
   for (unsigned int j=0; j<descriptions.size(); ++j)
-    patterns.push_back (std_cxx1x::shared_ptr<Patterns::PatternBase>(Patterns::pattern_factory(descriptions[j])));
+    patterns.push_back (std_cxx1x::shared_ptr<const Patterns::PatternBase>(Patterns::pattern_factory(descriptions[j])));
 }
 
 

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.