diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-01-13 23:04:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-01-14 08:42:49 +0100 |
commit | de80c787dba8436ec403126dbec88a6d202a1ad4 (patch) | |
tree | 9ee2dd7bac6afe47cd82c746372b42af69b549b0 /idlc | |
parent | 327cd7c9616339a42d477a68392012292556c2d6 (diff) |
-Wdeprecated-copy-dtor
Change-Id: Ia0875cc409779dd0c5479e314ccc8aae7abd4d94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109253
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/astdeclaration.hxx | 5 | ||||
-rw-r--r-- | idlc/inc/astinterface.hxx | 5 | ||||
-rw-r--r-- | idlc/inc/astscope.hxx | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/idlc/inc/astdeclaration.hxx b/idlc/inc/astdeclaration.hxx index ce8f9740a745..0707dbc57bb0 100644 --- a/idlc/inc/astdeclaration.hxx +++ b/idlc/inc/astdeclaration.hxx @@ -63,6 +63,11 @@ public: AstDeclaration(NodeType type, const OString& name, AstScope* pScope); virtual ~AstDeclaration(); + AstDeclaration(AstDeclaration const &) = default; + AstDeclaration(AstDeclaration &&) = default; + AstDeclaration & operator =(AstDeclaration const &) = default; + AstDeclaration & operator =(AstDeclaration &&) = default; + // Data access const OString& getLocalName() const { return m_localName; } diff --git a/idlc/inc/astinterface.hxx b/idlc/inc/astinterface.hxx index 7e3e1e30bad6..03c5f22f5f37 100644 --- a/idlc/inc/astinterface.hxx +++ b/idlc/inc/astinterface.hxx @@ -49,6 +49,11 @@ public: AstScope* pScope); virtual ~AstInterface() override; + AstInterface(AstInterface const &) = default; + AstInterface(AstInterface &&) = default; + AstInterface & operator =(AstInterface const &) = default; + AstInterface & operator =(AstInterface &&) = default; + InheritedInterfaces const & getAllInheritedInterfaces() const { return m_inheritedInterfaces; } diff --git a/idlc/inc/astscope.hxx b/idlc/inc/astscope.hxx index 2e7e258e2312..237b5d0bb82a 100644 --- a/idlc/inc/astscope.hxx +++ b/idlc/inc/astscope.hxx @@ -35,6 +35,11 @@ public: AstScope(NodeType nodeType); virtual ~AstScope(); + AstScope(AstScope const&) = default; + AstScope(AstScope&&) = default; + AstScope& operator=(AstScope const&) = default; + AstScope& operator=(AstScope&&) = default; + NodeType getScopeNodeType() const { return m_nodeType; } AstDeclaration* addDeclaration(AstDeclaration* pDecl); |