diff options
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 (...) {} } |