diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-26 13:45:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-27 11:36:33 +0200 |
commit | 02dc2cafbb0364556a4145633485f3c9f082b43d (patch) | |
tree | 55c30a0b3e833f50f86ddc67cc594f3f2136bcb3 /sfx2/inc | |
parent | c441672c0d99e08faa0667afd0ea804732b66c22 (diff) |
svx: 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. (Even if a dtor was
declared non-inline in an include file, the apparently-used implicitly-defined
copy functions are already inline, so why bother with a non-inline dtor.)
Change-Id: Ic8c24977a68d33a0051a74617fb4b4dcc2b664df
Reviewed-on: https://gerrit.libreoffice.org/58094
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/preventduplicateinteraction.hxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sfx2/inc/preventduplicateinteraction.hxx b/sfx2/inc/preventduplicateinteraction.hxx index 5e1db5043aec..46e998a213e7 100644 --- a/sfx2/inc/preventduplicateinteraction.hxx +++ b/sfx2/inc/preventduplicateinteraction.hxx @@ -188,13 +188,6 @@ class PreventDuplicateInteraction : private ThreadHelpBase2 , m_nMaxCount (nMaxCount ) , m_nCallCount (0 ) {} - - InteractionInfo(const InteractionInfo& aCopy) - : m_aInteraction(aCopy.m_aInteraction) - , m_nMaxCount (aCopy.m_nMaxCount ) - , m_nCallCount (aCopy.m_nCallCount ) - , m_xRequest (aCopy.m_xRequest ) - {} }; typedef ::std::vector< InteractionInfo > InteractionList; |