SortedSet: fix segfault - using iterator from one set copy on another if CopyOnWrite worked
SortedSet: fix segfault - using iterator from one set copy on another if CopyOnWrite worked

en = set->GetEnumerator()
while (en->Valid())
{
    set->TryRemove(en->Get());
    en->Next(); // SEGFAULT
}

GSGroup/stingraykit,GSGroup/stingraykit