X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FDepTable.C;h=bd70a1971a381c3ea4234603f53f63fac0e615e0;hb=664eb7ff45dbb4fabc22ec0b56798031a82335b1;hp=e493d794aaab18d137bd5057ae5ef6efce5372cc;hpb=adaef99e60e28eba8c413a3472cc71e234718af0;p=lyx.git diff --git a/src/DepTable.C b/src/DepTable.C index e493d794aa..bd70a1971a 100644 --- a/src/DepTable.C +++ b/src/DepTable.C @@ -113,7 +113,8 @@ bool DepTable::exist(string const & fil) const void DepTable::remove_files_with_extension(string const & suf) { DepList tmp; - for (DepList::const_iterator cit = deplist.begin(); + // we want const_iterator (Lgb) + for (DepList::iterator cit = deplist.begin(); cit != deplist.end(); ++cit) { if (!suffixIs((*cit).first, suf)) tmp[(*cit).first] = (*cit).second;