Fix enumerable not being consumed

This commit is contained in:
Dean Herbert 2021-09-09 15:15:18 +09:00
parent efaf07dbc8
commit 4708cb7317
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Engines;
using osu.Game.Online.API;
using osu.Game.Rulesets.Osu;
@ -36,7 +37,7 @@ public void BenchmarkToModDifficultyAdjust()
[Benchmark]
public void BenchmarkGetAllMods()
{
ruleset.GetAllMods();
ruleset.GetAllMods().Consume(new Consumer());
}
}
}