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.hh | |
| 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.hh')
| -rw-r--r-- | src/node.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node.hh b/src/node.hh index 919d013..992721c 100644 --- a/src/node.hh +++ b/src/node.hh @@ -44,8 +44,10 @@ using node_set = class stringable { public: + stringable(); + explicit stringable(const stringable &); + virtual ~stringable(); [[nodiscard]] virtual auto string() const -> std::string = 0; - virtual ~stringable() = default; }; class variable : stringable { |