summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Network/HostAddress.cpp
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-contrib-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
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) {
}