Remove existing argument for ItemAdded event

For all usages, it looks like this was unnecessary.
This commit is contained in:
Dean Herbert
2019-06-26 11:40:33 +09:00
parent c476e46a8e
commit 9e1cb90dd8
12 changed files with 42 additions and 65 deletions

View File

@ -108,7 +108,7 @@ namespace osu.Game.Tests.Beatmaps.IO
var manager = osu.Dependencies.Get<BeatmapManager>();
// ReSharper disable once AccessToModifiedClosure
manager.ItemAdded += (_, __) => Interlocked.Increment(ref itemAddRemoveFireCount);
manager.ItemAdded += _ => Interlocked.Increment(ref itemAddRemoveFireCount);
manager.ItemRemoved += _ => Interlocked.Increment(ref itemAddRemoveFireCount);
var imported = await LoadOszIntoOsu(osu);