Merge pull request #15772 from peppy/remove-model-list-inits

Initialise `BeatmapSet.Beatmaps` list at construction time
This commit is contained in:
Dan Balasescu
2021-11-24 16:41:19 +09:00
committed by GitHub
17 changed files with 137 additions and 106 deletions

View File

@ -2,7 +2,6 @@
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Screens;
@ -110,7 +109,7 @@ namespace osu.Game.Tests.Visual.Navigation
Hash = Guid.NewGuid().ToString(),
OnlineID = i,
Metadata = metadata,
Beatmaps = new List<BeatmapInfo>
Beatmaps =
{
new BeatmapInfo
{