Use static local functions.

This commit is contained in:
Huo Yaoyuan
2019-11-12 18:37:20 +08:00
parent dcfa98414f
commit 144812669d
14 changed files with 22 additions and 18 deletions

View File

@ -152,7 +152,7 @@ namespace osu.Game.Tournament.IPC
{
protected override string LocateBasePath()
{
bool checkExists(string p)
static bool checkExists(string p)
{
return File.Exists(Path.Combine(p, "ipc.txt"));
}