diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-26 16:28:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-04-27 08:01:27 +0200 |
commit | f5a95eb32f32c44359d6e9c26dd97cecb0b207a9 (patch) | |
tree | 709dd7a053c213f6b076eca9a2a04309b1eaa036 /emfio | |
parent | d08c7fecd6b38442ea7a4ac79315603cc7084208 (diff) |
More aggressive Clang 13 trunk -Werror,-Wdeprecated-copy[-with-dtor]
...since
<https://github.com/llvm/llvm-project/commit/abf3ca61e3235681f26d0f527b8e2763dd4c0c62>
"[Diagnostics] Restore -Wdeprecated warning when user-declared copy assignment
operator is defined as deleted (PR45634)"
Change-Id: I43ae8a620915ad211a1f21ecf89b6955b7d2faaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114674
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/inc/mtftools.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx index 2d31fe4ef4ad..cd2484606f07 100644 --- a/emfio/inc/mtftools.hxx +++ b/emfio/inc/mtftools.hxx @@ -315,7 +315,10 @@ namespace emfio struct EMFIO_DLLPUBLIC GDIObj { + GDIObj() = default; + GDIObj(GDIObj const &) = default; virtual ~GDIObj() = default; // Polymorphic base class + GDIObj & operator =(GDIObj const &) = default; }; struct UNLESS_MERGELIBS(EMFIO_DLLPUBLIC) WinMtfFontStyle final : GDIObj |