Don't deep-clone beatmapinfo/control points

This commit is contained in:
smoogipoo
2018-05-17 12:59:48 +09:00
parent c67f372560
commit 397d93660a
7 changed files with 16 additions and 18 deletions

View File

@ -18,8 +18,6 @@ namespace osu.Game.IO.Serialization
public static void DeserializeInto<T>(this string objString, T target) => JsonConvert.PopulateObject(objString, target, CreateGlobalSettings());
public static T DeepClone<T>(this T obj) where T : IJsonSerializable => Deserialize<T>(Serialize(obj));
/// <summary>
/// Creates the default <see cref="JsonSerializerSettings"/> that should be used for all <see cref="IJsonSerializable"/>s.
/// </summary>