framework/inc/helper/shareablemutex.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1a86f5643f3c36ead2f9aee42571664c2454ccf7 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Sep 7 07:38:29 2018 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Sep 7 14:20:08 2018 +0200 Cppcheck: make 1-argument ctors explicit Change-Id: I437988b238af961c6a3ac61ed4e93ea8206f6001 Reviewed-on: https://gerrit.libreoffice.org/60123 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits