diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-22 20:15:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-22 20:15:50 (GMT) |
commit | 618bfa7276fe46f308a7ab8f003c785bf863c7e8 (patch) | |
tree | 2dbba21aed6e2d8659f129e677dd3bb968b47485 /Slimber | |
parent | 353022b20f6fe6bddff9cab99e68fd8dde3d79b3 (diff) | |
download | swift-contrib-618bfa7276fe46f308a7ab8f003c785bf863c7e8.zip swift-contrib-618bfa7276fe46f308a7ab8f003c785bf863c7e8.tar.bz2 |
Add PlatformDNSSDQuerierFactory::canCreate().
Diffstat (limited to 'Slimber')
-rw-r--r-- | Slimber/MainController.cpp | 5 |
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( |