mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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
|
// Remove element if it was already present. Iterating should
|
||||||
// not be a problem since the list is small (<100 elements).
|
// 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)
|
it != lastfilepos.end(); ++it)
|
||||||
if (it->file == pos.file) {
|
if (it->file == pos.file) {
|
||||||
lastfilepos.erase(it);
|
lastfilepos.erase(it);
|
||||||
|
Loading…
Reference in New Issue
Block a user