summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-22 20:15:50 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-22 20:15:50 (GMT)
commit618bfa7276fe46f308a7ab8f003c785bf863c7e8 (patch)
tree2dbba21aed6e2d8659f129e677dd3bb968b47485 /Slimber
parent353022b20f6fe6bddff9cab99e68fd8dde3d79b3 (diff)
downloadswift-contrib-618bfa7276fe46f308a7ab8f003c785bf863c7e8.zip
swift-contrib-618bfa7276fe46f308a7ab8f003c785bf863c7e8.tar.bz2
Add PlatformDNSSDQuerierFactory::canCreate().
Diffstat (limited to 'Slimber')
-rw-r--r--Slimber/MainController.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Slimber/MainController.cpp b/Slimber/MainController.cpp
index 1d5b86c..e5def24 100644
--- a/Slimber/MainController.cpp
+++ b/Slimber/MainController.cpp
@@ -28,10 +28,7 @@ MainController::MainController(Menulet* menulet) : menulet(menulet) {
&MainController::handleRestartRequested, this));
dnsSDQuerier = PlatformDNSSDQuerierFactory().createQuerier();
- if (!dnsSDQuerier) {
- // TODO
- assert(false);
- }
+ assert(dnsSDQuerier);
linkLocalServiceBrowser = new LinkLocalServiceBrowser(dnsSDQuerier);
linkLocalServiceBrowser->onServiceAdded.connect(