diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-09-07 07:38:29 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-09-07 14:20:08 +0200 |
commit | 1a86f5643f3c36ead2f9aee42571664c2454ccf7 (patch) | |
tree | 64a60b7084d38d566e1ba0c60c61a24e2a2e33b1 | |
parent | 3efc3f4902c4f8a5cf9c1ff748d5b01b28a6d271 (diff) |
Cppcheck: make 1-argument ctors explicit
Change-Id: I437988b238af961c6a3ac61ed4e93ea8206f6001
Reviewed-on: https://gerrit.libreoffice.org/60123
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r-- | framework/inc/helper/shareablemutex.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/inc/helper/shareablemutex.hxx b/framework/inc/helper/shareablemutex.hxx index f28d524c7f07..6607e0f44b20 100644 --- a/framework/inc/helper/shareablemutex.hxx +++ b/framework/inc/helper/shareablemutex.hxx @@ -70,7 +70,7 @@ class FWI_DLLPUBLIC ShareableMutex class ShareGuard { public: - ShareGuard( ShareableMutex& rShareMutex ) : + explicit ShareGuard( ShareableMutex& rShareMutex ) : m_rShareMutex( rShareMutex ) { m_rShareMutex.acquire(); |