Use 'out var'.

This commit is contained in:
Huo Yaoyuan
2019-11-12 18:22:35 +08:00
parent 0d81b96c5f
commit 31cc0d13da
9 changed files with 9 additions and 22 deletions

View File

@ -177,8 +177,7 @@ namespace osu.Game.Rulesets.Objects.Legacy
if (i >= adds.Length)
break;
int sound;
int.TryParse(adds[i], out sound);
int.TryParse(adds[i], out var sound);
nodeSoundTypes[i] = (LegacySoundType)sound;
}
}