1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 04:32:57 +08:00

Fix enumerable not being consumed

This commit is contained in:
Dean Herbert 2021-09-09 15:15:18 +09:00
parent efaf07dbc8
commit 4708cb7317

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 @@ namespace osu.Game.Benchmarks
[Benchmark]
public void BenchmarkGetAllMods()
{
ruleset.GetAllMods();
ruleset.GetAllMods().Consume(new Consumer());
}
}
}