Krzysztof Duleba wrote: > { > /* Should we erase */ > pkg.versions::iterator next_i = i;
That should read set<packageversion>::iterator next_i = i; > ++next_i; > if(next_i == pkg.versions.end()){ > pkg.versions.erase(i); > break; > }else{ > pkg::value_type tmp = *next_i; That should read packageversion tmp = *next_i; > pkg.versions.erase(i); > i = pkg.versions.find(tmp); > } > }else ++i; -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/