summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-27 18:32:51 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-27 18:32:51 (GMT)
commit644bcda4cb795944cc5d5df53b3c0392450239df (patch)
treed751823018e66ddeede40f0d4928d9a5963db064 /Swiften/LinkLocal/DNSSD
parent4e2cb67ac26ca338a4bd7676683186f543903c5a (diff)
downloadswift-contrib-644bcda4cb795944cc5d5df53b3c0392450239df.zip
swift-contrib-644bcda4cb795944cc5d5df53b3c0392450239df.tar.bz2
Improve LinkLocalServiceInfo unit test.
Diffstat (limited to 'Swiften/LinkLocal/DNSSD')
-rw-r--r--Swiften/LinkLocal/DNSSD/DNSSDServiceID.cpp2
-rw-r--r--Swiften/LinkLocal/DNSSD/DNSSDServiceID.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/LinkLocal/DNSSD/DNSSDServiceID.cpp b/Swiften/LinkLocal/DNSSD/DNSSDServiceID.cpp
index 06a5b81..b360ee5 100644
--- a/Swiften/LinkLocal/DNSSD/DNSSDServiceID.cpp
+++ b/Swiften/LinkLocal/DNSSD/DNSSDServiceID.cpp
@@ -2,6 +2,6 @@
namespace Swift {
-const String DNSSDServiceID::PresenceServiceType = String("_presence._tcp");
+const char* DNSSDServiceID::PresenceServiceType = "_presence._tcp";
}
diff --git a/Swiften/LinkLocal/DNSSD/DNSSDServiceID.h b/Swiften/LinkLocal/DNSSD/DNSSDServiceID.h
index 5243662..ba7828b 100644
--- a/Swiften/LinkLocal/DNSSD/DNSSDServiceID.h
+++ b/Swiften/LinkLocal/DNSSD/DNSSDServiceID.h
@@ -5,7 +5,7 @@
namespace Swift {
class DNSSDServiceID {
public:
- static const String PresenceServiceType;
+ static const char* PresenceServiceType;
DNSSDServiceID(
const String& name,