mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Make branch compilable in C++98 mode again.
This commit is contained in:
parent
d045a6ce0c
commit
69031bb2ce
@ -221,7 +221,7 @@ void LastFilePosSection::save(FilePos const & pos)
|
||||
{
|
||||
// Remove element if it was already present. Iterating should
|
||||
// not be a problem since the list is small (<100 elements).
|
||||
for (FilePosList::const_iterator it = lastfilepos.begin();
|
||||
for (FilePosList::iterator it = lastfilepos.begin();
|
||||
it != lastfilepos.end(); ++it)
|
||||
if (it->file == pos.file) {
|
||||
lastfilepos.erase(it);
|
||||
|
Loading…
Reference in New Issue
Block a user