1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Avoid assigning null to a non-nullable property

This commit is contained in:
Dean Herbert 2021-02-09 18:56:27 +09:00
parent 17475e60b0
commit 0a96f4d403

View File

@ -53,7 +53,16 @@ namespace osu.Game.Tests.Visual.Online
}; };
} }
protected override OverlayHeader CreateHeader() => null; protected override OverlayHeader CreateHeader() => new TestHeader();
internal class TestHeader : OverlayHeader
{
protected override OverlayTitle CreateTitle() => new TestTitle();
internal class TestTitle : OverlayTitle
{
}
}
} }
} }
} }