mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Resolve new diagnostics in C# 7.3
This commit is contained in:
parent
e57e9a3817
commit
3ad0369d7b
@ -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()
|
private void reloadTeams()
|
||||||
|
@ -29,7 +29,7 @@ namespace osu.Game.Updater
|
|||||||
version = game.Version;
|
version = game.Version;
|
||||||
|
|
||||||
if (game.IsDeployedBuild)
|
if (game.IsDeployedBuild)
|
||||||
Schedule(() => Task.Run(() => checkForUpdateAsync()));
|
Schedule(() => Task.Run(checkForUpdateAsync));
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void checkForUpdateAsync()
|
private async void checkForUpdateAsync()
|
||||||
|
Loading…
Reference in New Issue
Block a user