This commit is contained in:
Сергей Маринкевич
2025-07-22 19:18:03 +07:00
parent 3801a5dc0b
commit f5f78308bd
11 changed files with 136 additions and 143 deletions
+2 -2
View File
@@ -4,6 +4,6 @@
class LeafLink : public BaseLink {
public:
using BaseLink::BaseLink;
void addChild(const LinkPtr&) override { throw std::logic_error("LeafLink cannot have children"); }
using BaseLink::BaseLink;
void addChild(const NodePtr&) override { throw std::logic_error("LeafLink cannot have children"); }
};