diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 11:25:36 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 08:15:28 +0200 |
commit | db481dff62bd8f744083c91b12289ff92a166ff1 (patch) | |
tree | 150bd6792e4dd2d1d848258d13b2be8726ce2bad | |
parent | 9ea6c0e6777c5b367ec507f10858c9c4be5960ed (diff) |
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@redhat.com>
-rw-r--r-- | stoc/source/security/permissions.h | 3 |
1 files changed, 0 insertions, 3 deletions
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 ) {} |