summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/comphelper/singletonref.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/comphelper/singletonref.hxx b/include/comphelper/singletonref.hxx
index 5e90fc78cdc1..7e9e85522562 100644
--- a/include/comphelper/singletonref.hxx
+++ b/include/comphelper/singletonref.hxx
@@ -125,7 +125,6 @@ public:
SingletonClass* operator->() const
{
// GLOBAL SAFE ->
- std::unique_lock aLock(SingletonRef::ownStaticLock());
return m_pInstance;
// <- GLOBAL SAFE
}
@@ -135,7 +134,6 @@ public:
SingletonClass& operator*() const
{
// GLOBAL SAFE ->
- std::unique_lock aLock(SingletonRef::ownStaticLock());
return *m_pInstance;
// <- GLOBAL SAFE
}