Simplify.

This commit is contained in:
Richard Kimberly Heck 2020-05-13 14:49:01 -04:00
parent 5353cf90c0
commit b0def618f8

View File

@ -749,8 +749,9 @@ void InsetText::appendParagraphs(ParagraphList & plist)
mergeParagraph(buffer().params(), pl,
distance(pl.begin(), ins) - 1);
for_each(pit, plist.end(),
bind(&ParagraphList::push_back, ref(pl), _1));
ParagraphList::iterator const pend = plist.end();
for (; pit != pend; ++pit)
pl.push_back(*pit);
}