]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / DepTable.C
index 8af0420aaf24255fb78069f60bce754c0405e432..bd70a1971a381c3ea4234603f53f63fac0e615e0 100644 (file)
@@ -46,7 +46,7 @@ void DepTable::insert(string const & fi,
 
 void DepTable::update()
 {
-       for(DepList::iterator itr = deplist.begin();
+       for (DepList::iterator itr = deplist.begin();
            itr != deplist.end();
            ++itr) {
                unsigned long const one = (*itr).second.second;
@@ -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;