1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 09:23:06 +08:00

Resolve new diagnostics in C# 7.3

This commit is contained in:
Huo Yaoyuan 2019-10-30 23:09:08 +08:00
parent e57e9a3817
commit 3ad0369d7b
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ namespace osu.Game.Tournament.Screens.Drawings
}
}
writeOp = writeOp?.ContinueWith(t => { writeAction(); }) ?? Task.Run((Action)writeAction);
writeOp = writeOp?.ContinueWith(t => { writeAction(); }) ?? Task.Run(writeAction);
}
private void reloadTeams()

View File

@ -29,7 +29,7 @@ namespace osu.Game.Updater
version = game.Version;
if (game.IsDeployedBuild)
Schedule(() => Task.Run(() => checkForUpdateAsync()));
Schedule(() => Task.Run(checkForUpdateAsync));
}
private async void checkForUpdateAsync()