From e4d73fee48dbe818da7eb2d2a378cf468cfddfce Mon Sep 17 00:00:00 2001 From: Bryan Schumaker Date: Sat, 24 Nov 2012 18:21:30 -0500 Subject: [PATCH] libsaria: Rename IdleTask::run_task() I think that just calling it run() is better. Signed-off-by: Bryan Schumaker --- libsaria/idle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsaria/idle.cpp b/libsaria/idle.cpp index 7c8de270..b9e0db65 100644 --- a/libsaria/idle.cpp +++ b/libsaria/idle.cpp @@ -17,7 +17,7 @@ class IdleTask IdleTask(void (*)()); IdleTask(void (*)(void *), void *); ~IdleTask(); - void run_task(); + void run(); bool should_cancel(void *); }; @@ -43,7 +43,7 @@ IdleTask::~IdleTask() { } -void IdleTask::run_task() +void IdleTask::run() { if (func) func(); @@ -97,7 +97,7 @@ namespace libsaria if (size() == 0) return 0; - idle_queue[0]->run_task(); + idle_queue[0]->run(); delete idle_queue[0]; idle_queue.pop_front();