Skip to content

Commit

Permalink
Fix Re-optimise capture of empty change. Auto formatting to modern fe…
Browse files Browse the repository at this point in the history
…ature is to blame! (#789)
  • Loading branch information
RolandPheasant authored Dec 10, 2023
1 parent e734087 commit 2c0f459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamicData/Cache/ChangeAwareCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public ChangeSet<TObject, TKey> CaptureChanges()
{
if (_changes.Count == 0)
{
return [];
return ChangeSet<TObject, TKey>.Empty;
}

var copy = _changes;
Expand Down

0 comments on commit 2c0f459

Please sign in to comment.