diff options
| author | Fuwn <[email protected]> | 2022-06-24 14:00:29 -1000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-24 14:00:29 -1000 |
| commit | d183f153a0f9a36c5530c0579adbbf15dca86f02 (patch) | |
| tree | 2f6322ff245259ff1506a0fb2684d73cf78251f8 /src/node.cc | |
| parent | refactor(parser): out-of-line definition for parser_exception (diff) | |
| download | cait-d183f153a0f9a36c5530c0579adbbf15dca86f02.tar.xz cait-d183f153a0f9a36c5530c0579adbbf15dca86f02.zip | |
fix(node): stringable explicit copy constructor
Diffstat (limited to 'src/node.cc')
| -rw-r--r-- | src/node.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node.cc b/src/node.cc index 9b76c27..0079dcb 100644 --- a/src/node.cc +++ b/src/node.cc @@ -22,6 +22,12 @@ namespace cait::node { +stringable::stringable() = default; + +stringable::stringable(const stringable &) = default; + +stringable::~stringable() = default; + variable::variable(const token &variable_name, std::vector<token> variable_value_list) : _name(variable_name), _value_list(std::move(variable_value_list)) {} |