On Mon, 18 Feb 2002, Lars Gullik Bjønnes wrote: > Allan Rae <[EMAIL PROTECTED]> writes: [...] > | par->erase(pos); > | + // get the next valid iterator position > | + Paragraph::inset_iterator pit = par->InsetIterator(pos); [...] > This cannot be correct... unless par->InsetIterator has side-effects. > Your shadowing pit goes out of scope five lines below.
That was a hand editing mistake in the mailer -- I had copied an earlier iteration of test code and then changed it to almost match what I ended up with (I hadn't intended to finish the work last night but then did...) Allan.