]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.C
remove more forms.h cruft
[lyx.git] / src / DepTable.C
index e493d794aaab18d137bd5057ae5ef6efce5372cc..0bc13ef436c0ef739596e4488b13f2006acbd0a9 100644 (file)
@@ -3,9 +3,9 @@
  * 
  *           LyX, The Document Processor
  *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
- *           This file is Copyright 1996-2000
+ *           This file is Copyright 1996-2001
  *           Lars Gullik Bjønnes
  *
  * ====================================================== 
@@ -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;