1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 18:23:04 +08:00

Add default token

This commit is contained in:
smoogipoo 2020-09-17 18:37:48 +09:00
parent c7d24203ce
commit e71991a53c
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ namespace osu.Game.Beatmaps
public bool CanConvert() => true;
public IBeatmap Convert(CancellationToken cancellationToken)
public IBeatmap Convert(CancellationToken cancellationToken = default)
{
foreach (var obj in Beatmap.HitObjects)
ObjectConverted?.Invoke(obj, obj.Yield());

View File

@ -33,6 +33,6 @@ namespace osu.Game.Beatmaps
/// </summary>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>The converted Beatmap.</returns>
IBeatmap Convert(CancellationToken cancellationToken);
IBeatmap Convert(CancellationToken cancellationToken = default);
}
}