Skip to content

Commit

Permalink
Add move constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Adda0 committed Sep 8, 2023
1 parent 253b62d commit 7cd3a6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/mata/parser/inter-aut.hh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ public:
FormulaNode(const FormulaNode& n)
: type(n.type), raw(n.raw), name(n.name), operator_type(n.operator_type), operand_type(n.operand_type) {}

FormulaNode(FormulaNode&&) = default;

FormulaNode& operator=(const FormulaNode& other) = default;
FormulaNode& operator=(FormulaNode&& other) = default;
};
Expand Down

0 comments on commit 7cd3a6f

Please sign in to comment.