[Libreoffice-commits] core.git: idlc/inc
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 14 07:43:24 UTC 2021
idlc/inc/astdeclaration.hxx | 5 +++++
idlc/inc/astinterface.hxx | 5 +++++
idlc/inc/astscope.hxx | 5 +++++
3 files changed, 15 insertions(+)
New commits:
commit de80c787dba8436ec403126dbec88a6d202a1ad4
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jan 13 23:04:51 2021 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Jan 14 08:42:49 2021 +0100
-Wdeprecated-copy-dtor
Change-Id: Ia0875cc409779dd0c5479e314ccc8aae7abd4d94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109253
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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);
More information about the Libreoffice-commits
mailing list