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:
parent
17475e60b0
commit
0a96f4d403
@ -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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user