aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/Loop.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-04 15:58:00 +0100
committerMax Kellermann <max@duempel.org>2014-01-04 16:00:45 +0100
commit0f9ef2506f316d6bb7e8e455ad222bc173eb5b48 (patch)
tree7cf562382cf33252bdac5c263f7fa9101aa0f528 /src/event/Loop.hxx
parent1f1195975f6a970d1a690ced463c184c0cf97e2d (diff)
downloadmpd-0f9ef2506f316d6bb7e8e455ad222bc173eb5b48.tar.gz
mpd-0f9ef2506f316d6bb7e8e455ad222bc173eb5b48.tar.xz
mpd-0f9ef2506f316d6bb7e8e455ad222bc173eb5b48.zip
event/Loop: remove unused method AddCall()
Diffstat (limited to 'src/event/Loop.hxx')
-rw-r--r--src/event/Loop.hxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index 0586a1f68..60d52ba52 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -30,7 +30,6 @@
#include "WakeFD.hxx"
#include "SocketMonitor.hxx"
-#include <functional>
#include <list>
#include <set>
#endif
@@ -91,7 +90,6 @@ class EventLoop final
std::list<IdleMonitor *> idle;
Mutex mutex;
- std::list<std::function<void()>> calls;
std::list<DeferredMonitor *> deferred;
unsigned now_ms;
@@ -157,13 +155,6 @@ public:
void CancelTimer(TimeoutMonitor &t);
/**
- * Schedule a function to be called inside the thread.
- *
- * This method is thread-safe.
- */
- void AddCall(std::function<void()> &&f);
-
- /**
* Schedule a call to DeferredMonitor::RunDeferred().
*
* This method is thread-safe.