1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove conditional compilation symbols for such case

This commit is contained in:
Salman Ahmed 2021-01-24 01:05:45 +03:00
parent 85b8b00b8c
commit d034728443

View File

@ -57,11 +57,7 @@ namespace osu.Game.Tests.Visual.UserInterface
}
};
#if NET5_0
var coverTypes = Enum.GetValues<BeatmapSetCoverType>();
#else
var coverTypes = Enum.GetValues(typeof(BeatmapSetCoverType)).Cast<BeatmapSetCoverType>();
#endif
for (int i = 0; i < 25; i++)
{