shared children disappear
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include "ifaces/INode.h"
|
||||
#include "links/LeafLink.h"
|
||||
#include "links/OneToManyLink.h"
|
||||
@@ -28,6 +29,10 @@ public:
|
||||
return link_;
|
||||
}
|
||||
|
||||
~LazyLinkMixin() override {
|
||||
std::cout << "--- Destructor called for: " << "LazyLinkMixin" << "\n";
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual std::shared_ptr<TFinalNode> getShared() = 0;
|
||||
NodePtr getSelf() override { return getShared(); }
|
||||
|
||||
Reference in New Issue
Block a user