tmp
This commit is contained in:
@@ -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"); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user