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

commit df4bff1289058d29fe53c436db7bb1312eee405b
Author: James Buren <[email protected]>
Date:   Sat Aug 18 20:07:51 2012 -0500

minor C++ fixups

diff --git a/Device.cc b/Device.cc
index 43574ef..22773fa 100644
--- a/Device.cc
+++ b/Device.cc
@@ -62,8 +62,6 @@ static inline bool isVirtioDisk(const struct stat &st)

Device::Device()
{
-  _path = "";
-
_lsectorsize = 0;

_psectorsize = 0;
diff --git a/DosPartition.hh b/DosPartition.hh
index 793cf64..55d9fcc 100644
--- a/DosPartition.hh
+++ b/DosPartition.hh
@@ -2,7 +2,7 @@

#include "Partition.hh"

-class DosPartition : Partition
+class DosPartition : public Partition
{

public:
diff --git a/PartitionTable.hh b/PartitionTable.hh
index 0ab56c7..01a5e7d 100644
--- a/PartitionTable.hh
+++ b/PartitionTable.hh
@@ -15,7 +15,7 @@ public:
virtual bool write(const string &path);

protected:
-  string label;
-  vector <Partition> table;
+  string _label;
+  vector <Partition> _table;

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

Reply via email to