summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Examples/LinkLocalTool/main.cpp')
-rw-r--r--Swiften/Examples/LinkLocalTool/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Examples/LinkLocalTool/main.cpp b/Swiften/Examples/LinkLocalTool/main.cpp
index 65fc9bc..d63ef53 100644
--- a/Swiften/Examples/LinkLocalTool/main.cpp
+++ b/Swiften/Examples/LinkLocalTool/main.cpp
@@ -27,13 +27,13 @@ int main(int argc, char* argv[]) {
boost::shared_ptr<DNSSDQuerier> querier = factory.createQuerier();
querier->start();
- if (String(argv[1]) == "browse") {
+ if (std::string(argv[1]) == "browse") {
boost::shared_ptr<DNSSDBrowseQuery> browseQuery = querier->createBrowseQuery();
browseQuery->startBrowsing();
eventLoop.run();
browseQuery->stopBrowsing();
}
- else if (String(argv[1]) == "resolve-service") {
+ else if (std::string(argv[1]) == "resolve-service") {
if (argc < 5) {
std::cerr << "Invalid parameters" << std::endl;
return -1;