diff options
Diffstat (limited to 'shared/privilege.h')
-rw-r--r-- | shared/privilege.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/privilege.h b/shared/privilege.h index 6ac99e6f..09fe0d08 100644 --- a/shared/privilege.h +++ b/shared/privilege.h @@ -15,7 +15,7 @@ class Privileges public: static Privileges& getInstance(); - void ensureActive(LPCTSTR privilege) //throw (FileError) + void ensureActive(LPCTSTR privilege) //throw FileError { if (activePrivileges.find(privilege) != activePrivileges.end()) return; //privilege already active @@ -42,7 +42,7 @@ private: if (i->second) Privileges::setPrivilege(i->first.c_str(), false); } - catch(...) {} + catch (...) {} } static bool privilegeIsActive(LPCTSTR privilege); //throw FileError |