fixed issue with overloaded ==
* src/Partition.cc: fixed issue with overloaded ==
This commit is contained in:
parent
7a413f6401
commit
070242562b
|
@ -1,3 +1,7 @@
|
|||
2006-12-01 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/Partition.cc: fixed issue with overloaded ==
|
||||
|
||||
2006-12-01 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* include/Dialog_Progress.h,
|
||||
|
|
|
@ -170,9 +170,10 @@ std::vector<Glib::ustring> 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
|
||||
|
|
Loading…
Reference in New Issue