mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 21:03:21 +08:00
Fix a couple of new r# inspections
This commit is contained in:
parent
9a6857bfad
commit
a80a5be4ec
@ -119,12 +119,11 @@ namespace osu.Game.Beatmaps
|
|||||||
IBeatmap IBeatmap.Clone() => Clone();
|
IBeatmap IBeatmap.Clone() => Clone();
|
||||||
|
|
||||||
public Beatmap<T> Clone() => (Beatmap<T>)MemberwiseClone();
|
public Beatmap<T> Clone() => (Beatmap<T>)MemberwiseClone();
|
||||||
|
|
||||||
|
public override string ToString() => BeatmapInfo.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Beatmap : Beatmap<HitObject>
|
public class Beatmap : Beatmap<HitObject>
|
||||||
{
|
{
|
||||||
public new Beatmap Clone() => (Beatmap)base.Clone();
|
|
||||||
|
|
||||||
public override string ToString() => BeatmapInfo?.ToString() ?? base.ToString();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user