aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-07 19:39:26 +0200
committerMax Kellermann <max@duempel.org>2013-08-07 19:39:26 +0200
commitf6f4742410cff1413ea1c1bd326278d89a929f12 (patch)
treec75538bfe82e9b1893b16b86d6bd44dcc7a71826 /src/event
parent977004c3508a366499ff80ff87ac3a84b4fdf9eb (diff)
downloadmpd-f6f4742410cff1413ea1c1bd326278d89a929f12.tar.gz
mpd-f6f4742410cff1413ea1c1bd326278d89a929f12.tar.xz
mpd-f6f4742410cff1413ea1c1bd326278d89a929f12.zip
event/DeferredMonitor: rename Run() to RunDeferred()
Diffstat (limited to 'src/event')
-rw-r--r--src/event/DeferredMonitor.cxx4
-rw-r--r--src/event/DeferredMonitor.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/event/DeferredMonitor.cxx b/src/event/DeferredMonitor.cxx
index e4242414c..5e6d87f30 100644
--- a/src/event/DeferredMonitor.cxx
+++ b/src/event/DeferredMonitor.cxx
@@ -39,11 +39,11 @@ DeferredMonitor::Schedule()
}
void
-DeferredMonitor::DoRun()
+DeferredMonitor::Run()
{
const auto id = source_id.exchange(0);
if (id != 0)
- Run();
+ RunDeferred();
}
gboolean
diff --git a/src/event/DeferredMonitor.hxx b/src/event/DeferredMonitor.hxx
index e055b6c9d..abc11b0b3 100644
--- a/src/event/DeferredMonitor.hxx
+++ b/src/event/DeferredMonitor.hxx
@@ -48,10 +48,10 @@ public:
void Cancel();
protected:
- virtual void Run() = 0;
+ virtual void RunDeferred() = 0;
private:
- void DoRun();
+ void Run();
static gboolean Callback(gpointer data);
};