misc: chore: Use collection expressions in Memory project

This commit is contained in:
Evan Husted
2025-01-26 15:46:58 -06:00
parent 2853f5b426
commit 46a5cafaa8
4 changed files with 6 additions and 6 deletions

View File

@@ -173,7 +173,7 @@ namespace Ryujinx.Memory.Range
private List<T> GetList()
{
List<RangeNode<ulong, T>> items = _items.AsList();
List<T> result = new();
List<T> result = [];
foreach (RangeNode<ulong, T> item in items)
{