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:
parent
2d691ca8d5
commit
3c7c3d1cb9
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user