Remove all unnecessary parenthesis where object initialisers are used

Enforces at CI.
This commit is contained in:
Dean Herbert
2017-07-13 15:02:45 +09:00
parent 80f88cf5bb
commit de46f3ab07
14 changed files with 15 additions and 15 deletions

View File

@ -91,7 +91,7 @@ namespace osu.Game.Beatmaps.ControlPoints
if (time < list[0].Time)
return prePoint ?? new T();
int index = list.BinarySearch(new T() { Time = time });
int index = list.BinarySearch(new T { Time = time });
// Check if we've found an exact match (t == time)
if (index >= 0)