diff options
Diffstat (limited to 'mbr.h')
-rw-r--r-- | mbr.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -3,6 +3,9 @@ /* This program is copyright (c) 2009-2013 by Roderick W. Smith. It is distributed under the terms of the GNU GPL version 2, as detailed in the COPYING file. */ +#ifndef __MBRSTRUCTS +#define __MBRSTRUCTS + #include <stdint.h> #include <sys/types.h> #include "gptpart.h" @@ -10,11 +13,6 @@ #include "diskio.h" #include "basicmbr.h" -#ifndef __MBRSTRUCTS -#define __MBRSTRUCTS - -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); |