[Libreoffice-commits] core.git: stoc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jul 27 06:15:55 UTC 2018


 stoc/source/security/permissions.h |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit db481dff62bd8f744083c91b12289ff92a166ff1
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 11:25:36 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jul 27 08:15:28 2018 +0200

    stoc: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)
    
    ...by removing explicitly user-provided functions that do the same as their
    implicitly-defined counterparts, but may prevent implicitly declared copy
    functions from being defined as non-deleted in the future
    
    Change-Id: Iacfdd89ca6ca3af19a56cd26721e1ce2d47c49fa
    Reviewed-on: https://gerrit.libreoffice.org/58055
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/stoc/source/security/permissions.h b/stoc/source/security/permissions.h
index 6e9fe7937932..7e25d440b696 100644
--- a/stoc/source/security/permissions.h
+++ b/stoc/source/security/permissions.h
@@ -67,9 +67,6 @@ class PermissionCollection
 public:
     PermissionCollection()
         {}
-    PermissionCollection( PermissionCollection const & collection )
-        : m_head( collection.m_head )
-        {}
     explicit PermissionCollection( ::rtl::Reference< Permission > const & single )
         : m_head( single )
         {}


More information about the Libreoffice-commits mailing list