summaryrefslogtreecommitdiff
path: root/tasks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.cpp')
-rw-r--r--tasks.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tasks.cpp b/tasks.cpp
index c381382..0fbaae7 100644
--- a/tasks.cpp
+++ b/tasks.cpp
@@ -243,11 +243,6 @@ void TaskManager::DoScheduledTasks()
return;
cMutexLock lock( this );
- /*while ( !m_taskQueue.empty() ) {
- Task* current = m_taskQueue.front();
- current->Action();
- m_taskQueue.pop_front();
- }*/
for_each( m_taskQueue.begin(), m_taskQueue.end(), bind( &Task::Action, _1 ) );
for_each( m_stickyTasks.begin(), m_stickyTasks.end(), bind( &Task::Action, _1 ) );
m_taskQueue.clear();