add hierarchical node

This commit is contained in:
Сергей Маринкевич
2025-07-24 15:14:08 +07:00
parent 55ef99c848
commit c228caaa45
15 changed files with 330 additions and 46 deletions
+3 -1
View File
@@ -5,5 +5,7 @@
class LeafLink : public BaseLink {
public:
using BaseLink::BaseLink;
void addChild(const NodePtr&) override { throw std::logic_error("LeafLink cannot have children"); }
void addChild(const NodePtr&) override {
throw std::logic_error("LeafLink cannot have children");
}
};