summaryrefslogtreecommitdiff
path: root/lib/lock_holder.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:22:36 +0200
commitecb1524f8da7901338b263384fed3c612f117b4c (patch)
treee7e06423fe27ea5ab45f27fc4b39ae597ba72490 /lib/lock_holder.h
parent5.10 (diff)
downloadFreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2
FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip
5.11
Diffstat (limited to 'lib/lock_holder.h')
-rw-r--r--lib/lock_holder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lock_holder.h b/lib/lock_holder.h
index 5ae2f8ae..dd997853 100644
--- a/lib/lock_holder.h
+++ b/lib/lock_holder.h
@@ -23,9 +23,9 @@ public:
std::vector<Zstring> dirs = dirnamesFmt;
vector_remove_if(dirs, [](const Zstring& dir) { return dir.empty(); });
- for (auto iter = dirs.begin(); iter != dirs.end(); ++iter)
+ for (auto it = dirs.begin(); it != dirs.end(); ++it)
{
- const Zstring& dirnameFmt = *iter;
+ const Zstring& dirnameFmt = *it;
if (!dirExistsUpdating(dirnameFmt, allowUserInteraction_, procCallback))
continue;
bgstack15