[gparted] Remove unused Partition(path) constructor
- From: Curtis Gedak <gedakc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] Remove unused Partition(path) constructor
- Date: Sat, 30 Jan 2016 17:41:14 +0000 (UTC)
commit cd64d6503b5c669b21ec53d24baccfe20efe9916
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date: Sat Apr 18 11:50:28 2015 +0100
Remove unused Partition(path) constructor
History:
1) The constructor was added by commit:
6d8b169e734e1ecb191d5164689f24400010a7b4
2006-03-14 21:37:47
changed the way devices and partitions store their devicepaths. Instead of
2) Removed from most of the file system specific ::Copy() methods by
commit:
ad9f2126e7fc92c16fffe839847dfe1c520146c8
2006-03-19 15:30:20
fixed issues with copying (see also #335004) cleanups + added FIXME added
3) Removed from GParted_Core::copy() method by commit:
7bb7e8a84f164cd913384509a6adc3739a9d8b78
2006-05-23 22:17:34
Use ped_device_read and ped_device_write instead of 'dd' to copy
4) Finally removed from the last place in xfs::Copy() method by commit:
e414b71b73d42c97fd0abc03f859288a1eff19f6
2012-01-11 19:49:13
Update xfs resize and copy to use new helper functions
The Partition(path) constructor is no longer used. Remove.
include/Partition.h | 1 -
src/Partition.cc | 7 -------
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/include/Partition.h b/include/Partition.h
index 1d45d4a..9e48b20 100644
--- a/include/Partition.h
+++ b/include/Partition.h
@@ -63,7 +63,6 @@ class Partition
{
public:
Partition() ;
- Partition( const Glib::ustring & path ) ;
virtual ~Partition();
virtual Partition * clone() const;
diff --git a/src/Partition.cc b/src/Partition.cc
index ed3455e..3018dd3 100644
--- a/src/Partition.cc
+++ b/src/Partition.cc
@@ -24,13 +24,6 @@ Partition::Partition()
{
Reset() ;
}
-
-Partition::Partition( const Glib::ustring & path )
-{
- Reset() ;
-
- paths .push_back( path ) ;
-}
Partition * Partition::clone() const
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]