diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-29 11:58:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-29 17:07:09 +0100 |
commit | e9e4eb0736d5582fa37dcad20bf5826c50029249 (patch) | |
tree | ae0c61293c82cd56bb434205ce01c8bfeb6b6d6d /scaddins | |
parent | c2b36cd6f7cf70e77dac5938f18146b0687523e6 (diff) |
Fix some -Werror=deprecated-copy-dtor
...which would be found by GCC 10 trunk when explicitly enabling
-Wdeprecated-copy-dtor (warning about cases where the non-deleted definition of
an implicit copy ctor or assignment op is deprecated because of a user-provided
dtor; looks like breaking it out into its own option, which, unlike
-Wdeprecated-copy, isn't enabled by -Wextra, isn't all too helpful going
forward, see discussion at <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88136>
"-Wdeprecated-copy is draconian and shouldn't be in -Wall").
Using =delete instead of =default in cases that would otherwise cause Clang
-Wdefaulted-function-deleted, cf. 3db830d354de80b319fb818a0373365a1e647264
"Silence new Clang trunk -Wdefaulted-function-deleted".
Change-Id: If50214ad8ac4e9ff12127eb3e07f610deabeca8a
Reviewed-on: https://gerrit.libreoffice.org/84056
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'scaddins')
0 files changed, 0 insertions, 0 deletions