summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/LinkLocal/LinkLocalService.h')
-rw-r--r--Swiften/LinkLocal/LinkLocalService.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/LinkLocal/LinkLocalService.h b/Swiften/LinkLocal/LinkLocalService.h
index 27491e4..2e74338 100644
--- a/Swiften/LinkLocal/LinkLocalService.h
+++ b/Swiften/LinkLocal/LinkLocalService.h
@@ -6,7 +6,7 @@
#pragma once
-#include "Swiften/Base/String.h"
+#include <string>
#include "Swiften/JID/JID.h"
#include "Swiften/LinkLocal/DNSSD/DNSSDServiceID.h"
#include "Swiften/LinkLocal/DNSSD/DNSSDResolveServiceQuery.h"
@@ -25,7 +25,7 @@ namespace Swift {
return id;
}
- const String& getName() const {
+ const std::string& getName() const {
return id.getName();
}
@@ -33,7 +33,7 @@ namespace Swift {
return info.port;
}
- const String& getHostname() const {
+ const std::string& getHostname() const {
return info.host;
}
@@ -41,7 +41,7 @@ namespace Swift {
return LinkLocalServiceInfo::createFromTXTRecord(info.info);
}
- String getDescription() const;
+ std::string getDescription() const;
JID getJID() const;