1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 19:27:26 +08:00

Tidy up GetEnumerable

This commit is contained in:
Drew DeVault 2017-02-01 19:11:58 -05:00
parent 2d691ca8d5
commit 3c7c3d1cb9

View File

@ -311,14 +311,8 @@ namespace osu.Game.Screens.Select
SelectGroup(group, panel);
}
public IEnumerator<BeatmapGroup> GetEnumerator()
{
return groups.GetEnumerator();
}
public IEnumerator<BeatmapGroup> GetEnumerator() => groups.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
}
}