Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=bd8279eac58587dff45cf659e693a1dfd0d13df5

commit bd8279eac58587dff45cf659e693a1dfd0d13df5
Author: James Buren <[email protected]>
Date:   Mon Aug 20 08:17:18 2012 -0500

fix class functions in Partitions

diff --git a/DosPartition.hh b/DosPartition.hh
index d50f3c2..db896ca 100644
--- a/DosPartition.hh
+++ b/DosPartition.hh
@@ -11,7 +11,7 @@ public:
void setType(unsigned char type) { _dos_type = type; }
virtual void setActive(bool active) { _dos_active = true; }
unsigned char getType() { return _dos_type; }
-  virtual bool getActive(bool active) { return _dos_active; }
+  virtual bool getActive() { return _dos_active; }

protected:
unsigned char _dos_type;
diff --git a/Partition.hh b/Partition.hh
index 4f7f7df..8500b09 100644
--- a/Partition.hh
+++ b/Partition.hh
@@ -19,7 +19,7 @@ public:
unsigned long long getStart() { return _start; }
unsigned long long getEnd() { return _end; }
unsigned long long getSectors() { return _sectors; }
-  virtual bool getActive(bool active) { return true; }
+  virtual bool getActive() { return true; }

protected:
unsigned long long _number;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to