[Libreoffice-commits] core.git: include/cppuhelper

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


 include/cppuhelper/typeprovider.hxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit a8ed578f92cdfbd6236c74bc118beeebf806a84b
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Jul 26 14:04:24 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Jul 27 08:27:14 2018 +0200

    cppuhelper: 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: I2b7b6b8baa872addfb2adb0d551d78de1e31c896
    Reviewed-on: https://gerrit.libreoffice.org/58106
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/include/cppuhelper/typeprovider.hxx b/include/cppuhelper/typeprovider.hxx
index fec7ea2efc84..eed17d4925d1 100644
--- a/include/cppuhelper/typeprovider.hxx
+++ b/include/cppuhelper/typeprovider.hxx
@@ -51,9 +51,6 @@ public:
         {}
     /// @endcond
 
-    OTypeCollection( const OTypeCollection & rCollection )
-        : _aTypes( rCollection._aTypes )
-        {}
     OTypeCollection(
         const css::uno::Type & rType1,
         const css::uno::Sequence< css::uno::Type > & rAddTypes = css::uno::Sequence< css::uno::Type >() );


More information about the Libreoffice-commits mailing list