summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-07-26 13:59:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-07-27 08:25:28 +0200
commitba263144035ddc27ab05b4f2d78d116acc24f92e (patch)
tree3a120e9bd3b529ac02b5191af9afbbad1d7c7515
parent08ec78be6fcc4465db0ed463bc68f841c4d43c97 (diff)
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@redhat.com>
-rw-r--r--include/salhelper/timer.hxx6
1 files changed, 0 insertions, 6 deletions
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;