Use Array.Empty

This commit is contained in:
Dean Herbert 2019-12-06 20:14:56 +09:00
parent 347373a3ba
commit f65866648e

View File

@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq; using System.Linq;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
@ -65,7 +66,7 @@ namespace osu.Game.Tests.Visual.UserInterface
}; };
} }
else else
section.Mods = new Mod[] { }; section.Mods = Array.Empty<Mod>();
} }
} }
} }