summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-16 11:11:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-17 08:09:33 +0200
commit8a29fb309878ccf4ad880b02d544ddf4e207116c (patch)
treef2dfd13446e5637f0e2675d7749cabdb6aacec82 /include
parentedb1070f1bb13082f44444bf37821da1ee4503b5 (diff)
osl::Mutex->std::mutex in framework::TransactionManager
Change-Id: I8a1c8e8ccec8ca64cc4f615ea8e9e415a343996d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134396 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/framework/transactionmanager.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/framework/transactionmanager.hxx b/include/framework/transactionmanager.hxx
index d6a07293a976..fe011968cf32 100644
--- a/include/framework/transactionmanager.hxx
+++ b/include/framework/transactionmanager.hxx
@@ -19,7 +19,7 @@
#pragma once
-#include <osl/mutex.hxx>
+#include <mutex>
#include "gate.hxx"
@@ -111,7 +111,7 @@ class TransactionManager
private:
- mutable ::osl::Mutex m_aAccessLock; /// regulate access on internal member of this instance
+ mutable std::mutex m_aAccessLock; /// regulate access on internal member of this instance
Gate m_aBarrier; /// used to block transactions requests during change or work mode
EWorkingMode m_eWorkingMode; /// current working mode of object which use this manager (used to reject calls at wrong time)
sal_Int32 m_nTransactionCount; /// every transaction request is registered by this counter