From: Luca Heltai Date: Tue, 8 Mar 2005 14:39:54 +0000 (+0000) Subject: Made both the guilty iterators const. X-Git-Tag: v8.0.0~14486 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9d262a86e3b684a65abd7027f1cd4bfa3d59f8;p=dealii.git Made both the guilty iterators const. git-svn-id: https://svn.dealii.org/trunk@10042 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/function_parser.cc b/deal.II/base/source/function_parser.cc index a91a249466..c9cf0cf909 100644 --- a/deal.II/base/source/function_parser.cc +++ b/deal.II/base/source/function_parser.cc @@ -54,9 +54,8 @@ void FunctionParser::initialize(const std::string variables, for (unsigned int i=0; in_components; ++i) { // Add the variuous constants to the parser. - std::map< std::string, double >::iterator - constant = constants.begin(); std::map< std::string, double >::const_iterator + constant = constants.begin(), endc = constants.end(); for(;constant != endc; ++constant) { AssertThrow( fp[i].AddConstant(constant->first, constant->second),