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

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


 include/salhelper/timer.hxx |    6 ------
 1 file changed, 6 deletions(-)

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

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

diff --git a/include/salhelper/timer.hxx b/include/salhelper/timer.hxx
index ed20aadcaed1..674c95552ffe 100644
--- a/include/salhelper/timer.hxx
+++ b/include/salhelper/timer.hxx
@@ -56,12 +56,6 @@ struct SAL_WARN_UNUSED TTimeValue : public TimeValue
         normalize();
     }
 
-    TTimeValue( const TTimeValue& rTimeValue ):
-        TimeValue(rTimeValue)
-    {
-        normalize();
-    }
-
     TTimeValue( const TimeValue& rTimeValue )
     {
         Seconds = rTimeValue.Seconds;


More information about the Libreoffice-commits mailing list