summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/astdeclaration.hxx5
-rw-r--r--idlc/inc/astinterface.hxx5
-rw-r--r--idlc/inc/astscope.hxx5
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);