diff options
author | Kevin Smith <git@kismith.co.uk> | 2014-02-25 17:59:45 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2014-02-25 18:00:58 (GMT) |
commit | 0e17d9322793e8baf7ef6904dc96f388e79fd82e (patch) | |
tree | 8f1fd35e7ca68c0498f14051b06cdf4003f7a8ca /Swiften/LinkLocal | |
parent | da5e31ec60d089c3ffbafc3246608c95ba44df06 (diff) | |
download | swift-0e17d9322793e8baf7ef6904dc96f388e79fd82e.zip swift-0e17d9322793e8baf7ef6904dc96f388e79fd82e.tar.bz2 |
Build with new Boostish stuff.
Can no longer use a shared_ptr as a bool.
Change-Id: Ic92ede082e8f923830af943bb522c64e4f5ff453
Diffstat (limited to 'Swiften/LinkLocal')
-rw-r--r-- | Swiften/LinkLocal/LinkLocalServiceBrowser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp b/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp index 4b68a33..ae97933 100644 --- a/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp +++ b/Swiften/LinkLocal/LinkLocalServiceBrowser.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Remko Tronçon + * Copyright (c) 2010-2014 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ @@ -52,7 +52,7 @@ void LinkLocalServiceBrowser::stop() { } bool LinkLocalServiceBrowser::isRunning() const { - return browseQuery; + return !!browseQuery; } bool LinkLocalServiceBrowser::hasError() const { @@ -60,7 +60,7 @@ bool LinkLocalServiceBrowser::hasError() const { } bool LinkLocalServiceBrowser::isRegistered() const { - return registerQuery; + return !!registerQuery; } void LinkLocalServiceBrowser::registerService(const std::string& name, int port, const LinkLocalServiceInfo& info) { |