diff --git a/ChangeLog b/ChangeLog index 593b226f..91a1f35c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-12-01 Bart Hakvoort + + * src/Partition.cc: fixed issue with overloaded == + 2006-12-01 Bart Hakvoort * include/Dialog_Progress.h, diff --git a/src/Partition.cc b/src/Partition.cc index f1054d05..e76ab7c9 100644 --- a/src/Partition.cc +++ b/src/Partition.cc @@ -170,9 +170,10 @@ std::vector Partition::get_paths() const bool Partition::operator==( const Partition & partition ) const { - return this ->partition_number == partition .partition_number && - this ->sector_start == partition .sector_start && - this ->type == partition .type ; + return device_path == partition .device_path && + partition_number == partition .partition_number && + sector_start == partition .sector_start && + type == partition .type ; } bool Partition::operator!=( const Partition & partition ) const