diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:22:36 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:22:36 +0200 |
commit | ecb1524f8da7901338b263384fed3c612f117b4c (patch) | |
tree | e7e06423fe27ea5ab45f27fc4b39ae597ba72490 /zen/privilege.cpp | |
parent | 5.10 (diff) | |
download | FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.gz FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.tar.bz2 FreeFileSync-ecb1524f8da7901338b263384fed3c612f117b4c.zip |
5.11
Diffstat (limited to 'zen/privilege.cpp')
-rw-r--r-- | zen/privilege.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/privilege.cpp b/zen/privilege.cpp index 9d8f12a0..288a1480 100644 --- a/zen/privilege.cpp +++ b/zen/privilege.cpp @@ -103,11 +103,11 @@ private: ~Privileges() //clean up: deactivate all privileges that have been activated by this application { - for (auto iter = activePrivileges.begin(); iter != activePrivileges.end(); ++iter) - if (iter->second) + for (auto it = activePrivileges.begin(); it != activePrivileges.end(); ++it) + if (it->second) try { - setPrivilege(iter->first.c_str(), false); //throw FileError + setPrivilege(it->first.c_str(), false); //throw FileError } catch (...) {} } |