Remove newly added equality

This commit is contained in:
Dean Herbert
2021-11-15 14:35:01 +09:00
parent a4c11e8813
commit 0b4822b552
6 changed files with 4 additions and 67 deletions

View File

@ -78,20 +78,6 @@ namespace osu.Game.Beatmaps
return false;
}
public bool Equals(IBeatmapSetInfo other)
{
if (ReferenceEquals(this, other)) return true;
if (other == null) return false;
if (other is BeatmapSetInfo b && Equals(b))
return true;
if (OnlineID > 0 && other.OnlineID > 0)
return other.OnlineID == OnlineID;
return false;
}
#region Implementation of IHasOnlineID
int IHasOnlineID<int>.OnlineID => OnlineID ?? -1;