summaryrefslogtreecommitdiff
path: root/configmgr/source/lock.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:52:11 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 01:57:11 +0100
commit315f270d2db7541e9400852b070afb30f371f644 (patch)
tree19dee369c79fd0f48976aed0133c34f788303909 /configmgr/source/lock.cxx
parent1e17165f6643afe583bb97a40fb25ecb7bab24d9 (diff)
tdf#123936 Formatting files in module configmgr with clang-format
Change-Id: I51bd9777e51e4d8b745791bdde41e142db217d32 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105655 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'configmgr/source/lock.cxx')
-rw-r--r--configmgr/source/lock.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/configmgr/source/lock.cxx b/configmgr/source/lock.cxx
index 40a7536b8ab7..28220c15af89 100644
--- a/configmgr/source/lock.cxx
+++ b/configmgr/source/lock.cxx
@@ -23,14 +23,13 @@
#include "lock.hxx"
-namespace configmgr {
-
-std::shared_ptr<osl::Mutex> const & lock()
+namespace configmgr
+{
+std::shared_ptr<osl::Mutex> const& lock()
{
static std::shared_ptr<osl::Mutex> theLock = std::make_shared<osl::Mutex>();
return theLock;
}
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */