From ae71a0adef64b292ab01194817d2d763f7c85433 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 25 Nov 2019 16:52:49 +0100 Subject: Remove some redundantly user-declared copy ctors and assignment ops ...that trigger -Werror,-Wdeprecated-copy ("definition of implicit copy {constructor, assignment operator} for ... is deprecated beause it has a user-declared copy {assignment operator, constructor}") new in recent Clang 10 trunk (and which apparently warns about more cases then its GCC counterpart, for which we already adapted the code in the past, see e.g. the various "-Werror=deprecated-copy (GCC trunk towards GCC 9)" commits) Change-Id: Ie37bd820e6c0c05c74e1a862bb1d4ead5fb7cc9c Reviewed-on: https://gerrit.libreoffice.org/83698 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/inc/pivot.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sc/inc/pivot.hxx') diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx index 2dcb9b2f1e0b..6bdd24353285 100644 --- a/sc/inc/pivot.hxx +++ b/sc/inc/pivot.hxx @@ -122,7 +122,6 @@ struct ScPivotField sal_uInt8 mnDupCount; explicit ScPivotField( SCCOL nNewCol = 0 ); - ScPivotField( const ScPivotField& r ); long getOriginalDim() const; }; -- cgit