diff options
Diffstat (limited to 'configmgr/source/lock.cxx')
-rw-r--r-- | configmgr/source/lock.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/lock.cxx b/configmgr/source/lock.cxx index 28220c15af89..33940fef91ed 100644 --- a/configmgr/source/lock.cxx +++ b/configmgr/source/lock.cxx @@ -25,9 +25,9 @@ namespace configmgr { -std::shared_ptr<osl::Mutex> const& lock() +osl::Mutex& GetLock() { - static std::shared_ptr<osl::Mutex> theLock = std::make_shared<osl::Mutex>(); + static osl::Mutex theLock; return theLock; } } |