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 98eaad43..90612756 100644 --- a/zen/privilege.cpp +++ b/zen/privilege.cpp @@ -1,6 +1,6 @@ #include "privilege.h" #include <map> -#include "thread.h" //includes <boost/thread.hpp> +#include <mutex> #include "zstring.h" #include "scope_guard.h" #include "win_ver.h" @@ -127,12 +127,12 @@ private: std::map<Zstring, bool> activePrivileges; //bool: enabled by this application }; -boost::mutex lockPrivileges; +std::mutex lockPrivileges; } void zen::activatePrivilege(LPCTSTR privilege) //throw FileError { - boost::lock_guard<boost::mutex> dummy(lockPrivileges); + std::lock_guard<std::mutex> dummy(lockPrivileges); Privileges::getInstance().ensureActive(privilege); } |