mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Remove all unnecessary parenthesis where object initialisers are used
Enforces at CI.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user