[Libreoffice-commits] core.git: comphelper/source include/comphelper

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Oct 30 14:33:33 UTC 2017


 comphelper/source/misc/sharedmutex.cxx |   13 -------------
 include/comphelper/sharedmutex.hxx     |    2 --
 2 files changed, 15 deletions(-)

New commits:
commit a92c62b7d6c57de6df65c35f5052d6c8e9c3e89a
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Oct 30 11:41:05 2017 +0100

    clang-tidy modernize-use-equals-default in comphelper
    
    Change-Id: I24a3ecd2ea9fe7e08c92b95aac57a58b922616b2
    Reviewed-on: https://gerrit.libreoffice.org/44054
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/comphelper/source/misc/sharedmutex.cxx b/comphelper/source/misc/sharedmutex.cxx
index e53e2700d76f..176c8acaa7f2 100644
--- a/comphelper/source/misc/sharedmutex.cxx
+++ b/comphelper/source/misc/sharedmutex.cxx
@@ -31,19 +31,6 @@ namespace comphelper
     }
 
 
-    SharedMutex::SharedMutex( const SharedMutex& _rhs )
-        :m_pMutexImpl()
-    {
-        *this = _rhs;
-    }
-
-
-    SharedMutex& SharedMutex::operator=( const SharedMutex& _rhs )
-    {
-        m_pMutexImpl = _rhs.m_pMutexImpl;
-        return *this;
-    }
-
     RefCountedMutex::~RefCountedMutex()
     {
     }
diff --git a/include/comphelper/sharedmutex.hxx b/include/comphelper/sharedmutex.hxx
index d0fd28dd6e21..82ed7f9bef77 100644
--- a/include/comphelper/sharedmutex.hxx
+++ b/include/comphelper/sharedmutex.hxx
@@ -34,8 +34,6 @@ namespace comphelper
     {
     public:
         SharedMutex();
-        SharedMutex( const SharedMutex& );
-        SharedMutex& operator=( const SharedMutex& );
 
         operator ::osl::Mutex& () { return *m_pMutexImpl; }
 


More information about the Libreoffice-commits mailing list