Reduce implicit conversions by using default

This commit is contained in:
Bartłomiej Dach
2021-07-27 21:42:34 +02:00
parent 94877117b9
commit 239b38a0ab
4 changed files with 4 additions and 4 deletions

View File

@ -213,7 +213,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
return content.ToArray();
}
protected override Drawable CreateHeader(int index, TableColumn column) => new HeaderText(column?.Header ?? string.Empty);
protected override Drawable CreateHeader(int index, TableColumn column) => new HeaderText(column?.Header ?? default);
private class HeaderText : OsuSpriteText
{