summaryrefslogtreecommitdiffstats
path: root/src/Common/HostInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/HostInfo.h')
-rw-r--r--src/Common/HostInfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Common/HostInfo.h b/src/Common/HostInfo.h
index 4a6c3f3..bd4afba 100644
--- a/src/Common/HostInfo.h
+++ b/src/Common/HostInfo.h
@@ -22,7 +22,7 @@
#include "export.h"
-#include <string>
+#include <Core/String.h>
namespace Mad {
namespace Common {
@@ -34,16 +34,16 @@ class HostInfo {
};
private:
- std::string name;
+ Core::String name;
std::string ip;
State state;
public:
- HostInfo(const std::string& name0 = std::string()) : name(name0), state(INACTIVE) {}
+ HostInfo(const Core::String& name0 = Core::String()) : name(name0), state(INACTIVE) {}
- void setName(const std::string &newName) {name = newName;}
- const std::string& getName() const {return name;}
+ void setName(const Core::String &newName) {name = newName;}
+ const Core::String& getName() const {return name;}
void setIP(const std::string& newIp) {ip = newIp;}
const std::string& getIP() const {return ip;}