1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 03:25:11 +08:00

style(editor/checks): add type nullability for Stream

This commit is contained in:
tsrk 2023-08-24 21:33:54 +02:00
parent df55a2f683
commit 208e94e9be
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -45,7 +45,7 @@ namespace osu.Game.Rulesets.Edit.Checks
foreach (var file in beatmapSet.Files)
{
using (Stream stream = context.WorkingBeatmap.GetStream(file.File.GetStoragePath()))
using (Stream? stream = context.WorkingBeatmap.GetStream(file.File.GetStoragePath()))
{
if (stream == null)
continue;