Use shallow copy to return FATX statfs.

This commit is contained in:
2019-04-26 22:52:43 +01:00
parent 43aca6b181
commit 45b7412bad

View File

@@ -241,6 +241,8 @@ namespace DiscImageChef.CommonTypes.Structs
{
Id = new FileSystemId();
}
public FileSystemInfo ShallowCopy() => (FileSystemInfo)MemberwiseClone();
}
[StructLayout(LayoutKind.Explicit)]