Juergen Spitzmueller wrote:
>               //         list.erase(it, end);
>
> Maybe erase is the problem.

Hm, looking at it again, I think you have to replace
list.erase(it, end);
by
list.erase(it);

Does this help?
Jürgen

Reply via email to