aboutsummaryrefslogtreecommitdiffstats
path: root/src/AvahiPoll.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/AvahiPoll.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/AvahiPoll.cxx b/src/AvahiPoll.cxx
index 0d5a43dad..20d5d74e6 100644
--- a/src/AvahiPoll.cxx
+++ b/src/AvahiPoll.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -19,7 +19,6 @@
#include "config.h"
#include "AvahiPoll.hxx"
-#include "event/Loop.hxx"
#include "event/SocketMonitor.hxx"
#include "event/TimeoutMonitor.hxx"
@@ -58,10 +57,6 @@ public:
Schedule(FromAvahiWatchEvent(_event));
}
- ~AvahiWatch() {
- Steal();
- }
-
static void WatchUpdate(AvahiWatch *w, AvahiWatchEvent event) {
w->Schedule(FromAvahiWatchEvent(event));
}