Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
5bee1e13
Commit
5bee1e13
authored
May 06, 2021
by
Ingo Klöcker
Browse files
Remove typedefs obsoleted by auto
parent
f2e5d1fe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/crypto/taskcollection.cpp
View file @
5bee1e13
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment