From 767bb3951c65e38627cb0bbad9a3756e1cda2520 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:30:42 +0200 Subject: 6.1 --- zen/privilege.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zen/privilege.cpp') 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 -#include "thread.h" //includes +#include #include "zstring.h" #include "scope_guard.h" #include "win_ver.h" @@ -127,12 +127,12 @@ private: std::map activePrivileges; //bool: enabled by this application }; -boost::mutex lockPrivileges; +std::mutex lockPrivileges; } void zen::activatePrivilege(LPCTSTR privilege) //throw FileError { - boost::lock_guard dummy(lockPrivileges); + std::lock_guard dummy(lockPrivileges); Privileges::getInstance().ensureActive(privilege); } -- cgit