diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-27 18:32:51 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-27 18:32:51 (GMT) |
commit | 644bcda4cb795944cc5d5df53b3c0392450239df (patch) | |
tree | d751823018e66ddeede40f0d4928d9a5963db064 /Swiften/LinkLocal/DNSSD | |
parent | 4e2cb67ac26ca338a4bd7676683186f543903c5a (diff) | |
download | swift-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.cpp | 2 | ||||
-rw-r--r-- | Swiften/LinkLocal/DNSSD/DNSSDServiceID.h | 2 |
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, |