Commit 5bee1e13 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Remove typedefs obsoleted by auto

parent f2e5d1fe
......@@ -115,8 +115,6 @@ void TaskCollection::Private::taskStarted()
void TaskCollection::Private::calculateAndEmitProgress()
{
using ConstIterator = std::map<int, std::shared_ptr<Task>>::const_iterator;
quint64 total = 0;
quint64 processed = 0;
......@@ -196,7 +194,6 @@ std::shared_ptr<Task> TaskCollection::taskById(int id) const
std::vector<std::shared_ptr<Task> > TaskCollection::tasks() const
{
using ConstIterator = std::map<int, std::shared_ptr<Task>>::const_iterator;
std::vector<std::shared_ptr<Task> > res;
res.reserve(d->m_tasks.size());
for (auto it = d->m_tasks.begin(), end = d->m_tasks.end(); it != end; ++it) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment