summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/taskmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/kademlia/taskmanager.cpp')
-rw-r--r--libktorrent/kademlia/taskmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/kademlia/taskmanager.cpp b/libktorrent/kademlia/taskmanager.cpp
index f71fc0d..4e1e21a 100644
--- a/libktorrent/kademlia/taskmanager.cpp
+++ b/libktorrent/kademlia/taskmanager.cpp
@@ -54,14 +54,14 @@ namespace dht
void TaskManager::removeFinishedTasks(const DHT* dh_table)
{
- QValueList<Uint32> rm;
+ TQValueList<Uint32> rm;
for (TaskItr i = tasks.begin();i != tasks.end();i++)
{
if (i->second->isFinished())
rm.append(i->first);
}
- for (QValueList<Uint32>::iterator i = rm.begin();i != rm.end();i++)
+ for (TQValueList<Uint32>::iterator i = rm.begin();i != rm.end();i++)
{
tasks.erase(*i);
}