diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-03 16:39:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-04 14:43:43 +0200 |
commit | 4997f500497421f52adf3d4cd05df86f7c780c22 (patch) | |
tree | bbbdae9f3955218f77aa34a42923ef48be341d9f /sw/inc/calbck.hxx | |
parent | 0e133efbf750f9647ded941faf617da271525a3c (diff) |
-Werror=deprecated-copy (GCC trunk towards GCC 9)
(BroadcasterMixin apparently needs a one-off user-provided copy assignment op
due to SvtBroadcaster's odd design of having a user-provided copy ctor and an
explicitly deleted copy assignment op.)
Change-Id: I8fcb5a40f82031f94c37a65e9bd54657dfd07b7e
Reviewed-on: https://gerrit.libreoffice.org/56876
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 25e815177f0a..4abc91d6c214 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -83,6 +83,8 @@ namespace sw class SW_DLLPUBLIC BroadcasterMixin { SvtBroadcaster m_aNotifier; public: + BroadcasterMixin() = default; + BroadcasterMixin(BroadcasterMixin const &) = default; BroadcasterMixin& operator=(const BroadcasterMixin&) { return *this; // Listeners are never copied or moved. |