diff options
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/asynclink.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx index 468f2a722548..bc0c742a4b4e 100644 --- a/include/svtools/asynclink.hxx +++ b/include/svtools/asynclink.hxx @@ -23,8 +23,7 @@ #include <svtools/svtdllapi.h> #include <tools/link.hxx> #include <vcl/idle.hxx> -#include <osl/mutex.hxx> -#include <memory> +#include <mutex> class Timer; struct ImplSVEvent; @@ -38,7 +37,7 @@ class UNLESS_MERGELIBS(SVT_DLLPUBLIC) AsynchronLink bool _bInCall; bool* _pDeleted; void* _pArg; - std::unique_ptr<::osl::Mutex> _pMutex; + std::mutex _aMutex; DECL_DLLPRIVATE_LINK( HandleCall_Idle, Timer*, void ); DECL_DLLPRIVATE_LINK( HandleCall_PostUserEvent, void*, void ); @@ -60,7 +59,6 @@ public: {} ~AsynchronLink(); - void CreateMutex(); void operator=( const Link<void*,void>& rLink ) { _aLink = rLink; } void Call( void* pObj, bool bAllowDoubles = false ); void ClearPendingCall( ); |