summaryrefslogtreecommitdiff
path: root/mbr.h
diff options
context:
space:
mode:
authorRod Smith <rodsmith@rodsbooks.com>2022-04-10 09:28:08 -0400
committerRod Smith <rodsmith@rodsbooks.com>2022-04-10 09:28:08 -0400
commitedc67b66dbd09bf9a905bb5f1eddd1c19c2df294 (patch)
tree0676771891810a7e386d48e62b81470f80fe1c80 /mbr.h
parentfd60f743628e16180daf3b1719974fa4dadf8f90 (diff)
downloadsgdisk-edc67b66dbd09bf9a905bb5f1eddd1c19c2df294.tar.gz
Patch set from Bin Meng to clean up some code & support building sgdisk for Windows
Diffstat (limited to 'mbr.h')
-rw-r--r--mbr.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/mbr.h b/mbr.h
index 21c1d7b..3eea775 100644
--- a/mbr.h
+++ b/mbr.h
@@ -13,8 +13,6 @@
#include "diskio.h"
#include "basicmbr.h"
-using namespace std;
-
/****************************************
* *
* MBRData class and related structures *
@@ -26,7 +24,7 @@ class MBRData : public BasicMBRData {
protected:
public:
MBRData(void) {}
- MBRData(string deviceFilename) : BasicMBRData(deviceFilename) {}
+ MBRData(std::string deviceFilename) : BasicMBRData(deviceFilename) {}
MBRData & operator=(const BasicMBRData & orig);
~MBRData(void);