summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-24 18:07:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-24 19:03:45 (GMT)
commit30f99a2bcbbeb41bfd61768b98c243ebcfdf67c7 (patch)
tree7cce7dd0fdd485b32fb0634e2b2abe51e98d29f6 /Swiften/LinkLocal/BonjourQuerier.h
parentf6e73393afbe7ce8d1a5c5fc55565582cb8906cc (diff)
downloadswift-contrib-30f99a2bcbbeb41bfd61768b98c243ebcfdf67c7.zip
swift-contrib-30f99a2bcbbeb41bfd61768b98c243ebcfdf67c7.tar.bz2
Make BonjourQuerier thread-safe.
Diffstat (limited to 'Swiften/LinkLocal/BonjourQuerier.h')
-rw-r--r--Swiften/LinkLocal/BonjourQuerier.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Swiften/LinkLocal/BonjourQuerier.h b/Swiften/LinkLocal/BonjourQuerier.h
index 5f69ad6..e5ffa49 100644
--- a/Swiften/LinkLocal/BonjourQuerier.h
+++ b/Swiften/LinkLocal/BonjourQuerier.h
@@ -6,7 +6,6 @@
#include <boost/thread.hpp>
#include <boost/thread/mutex.hpp>
-#include "Swiften/EventLoop/EventOwner.h"
#include "Swiften/LinkLocal/DNSSDBrowseQuery.h"
#include "Swiften/LinkLocal/DNSSDPublishQuery.h"
#include "Swiften/LinkLocal/BonjourQuery.h"
@@ -14,9 +13,7 @@
namespace Swift {
class LinkLocalServiceInfo;
- class BonjourQuerier :
- public boost::enable_shared_from_this<BonjourQuerier>,
- public EventOwner {
+ class BonjourQuerier : public boost::enable_shared_from_this<BonjourQuerier> {
public:
BonjourQuerier();
~BonjourQuerier();