Skip to content

Commit

Permalink
fix list sorting to replace without indexof (#489)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Hütter <huetter@outlook.com>
  • Loading branch information
hutterm and hutterm authored Jun 30, 2021
1 parent f3d8e4e commit 0dcbea2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private static void DoUpdate(ISortedChangeSet<TObject, TKey> updates, IObservabl
}
else
{
list.Replace(update.Previous.Value, update.Current);
list[update.CurrentIndex] = update.Current;
}

break;
Expand Down

0 comments on commit 0dcbea2

Please sign in to comment.