summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/HostAddress.cpp')
-rw-r--r--Swiften/Network/HostAddress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/HostAddress.cpp b/Swiften/Network/HostAddress.cpp
index b3876c0..7acd407 100644
--- a/Swiften/Network/HostAddress.cpp
+++ b/Swiften/Network/HostAddress.cpp
@@ -13,16 +13,16 @@
#include <boost/array.hpp>
#include "Swiften/Base/foreach.h"
-#include "Swiften/Base/String.h"
+#include <string>
namespace Swift {
HostAddress::HostAddress() {
}
-HostAddress::HostAddress(const String& address) {
+HostAddress::HostAddress(const std::string& address) {
try {
- address_ = boost::asio::ip::address::from_string(address.getUTF8String());
+ address_ = boost::asio::ip::address::from_string(address);
}
catch (const std::exception& t) {
}