Added equality and comparison overrides to Partition struct.

This commit is contained in:
2017-07-25 22:27:09 +01:00
parent 5dcaa79ccc
commit b8e19ec261
2 changed files with 69 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ namespace DiscImageChef.Core
foreach(Partition child in childs)
{
if(child.Start == father.Start)
if(child == father)
childPartitions.Add(father);
else
{