summaryrefslogtreecommitdiff
path: root/src/syncevo/GLibSupport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/syncevo/GLibSupport.cpp')
-rw-r--r--src/syncevo/GLibSupport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syncevo/GLibSupport.cpp b/src/syncevo/GLibSupport.cpp
index a3fb20c4..c9cf5788 100644
--- a/src/syncevo/GLibSupport.cpp
+++ b/src/syncevo/GLibSupport.cpp
@@ -230,7 +230,7 @@ public:
void PendingChecks::runChecks()
{
DynMutex::Guard guard = m_mutex.lock();
- Checks::iterator it = m_checks.begin();
+ auto it = m_checks.begin();
bool removed = false;
while (it != m_checks.end()) {
bool cont;
@@ -244,7 +244,7 @@ void PendingChecks::runChecks()
if (!cont) {
// Done with this check
- Checks::iterator next = it;
+ auto next = it;
++next;
m_checks.erase(it);
it = next;