mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Remove other Equals(object) calls.
This commit is contained in:
parent
05cfef92f9
commit
5375af7820
@ -25,6 +25,6 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
/// <returns>Whether equivalent.</returns>
|
||||
public abstract bool EquivalentTo(ControlPoint other);
|
||||
|
||||
public bool Equals(ControlPoint other) => Time.Equals(other?.Time) && EquivalentTo(other);
|
||||
public bool Equals(ControlPoint other) => Time == other?.Time && EquivalentTo(other);
|
||||
}
|
||||
}
|
||||
|
@ -240,6 +240,6 @@ namespace osu.Game.Tests.Beatmaps
|
||||
set => Objects = value;
|
||||
}
|
||||
|
||||
public virtual bool Equals(ConvertMapping<TConvertValue> other) => StartTime.Equals(other?.StartTime);
|
||||
public virtual bool Equals(ConvertMapping<TConvertValue> other) => StartTime == other?.StartTime;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user