qosd: прокинут kind до BaseNode

Теперь конкретные узлы не сами устанавливают себе `kind_`, а делают это
через `BaseNode` — единую точку входа.
This commit is contained in:
Сергей Маринкевич
2025-10-08 17:39:31 +07:00
parent 9b5996abb5
commit b6ff5b79f9
6 changed files with 14 additions and 18 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ public:
Logger::get("ConDes").dbg(std::string("--- Leaf destructor called for: ") + name_);
}
protected:
LeafNode(std::string name, std::string kind) : BaseNode(std::move(name)) {
kind_ = std::move(kind);
LeafNode(std::string name, std::string kind) :
BaseNode(std::move(name), std::move(kind)) {
Logger::get("ConDes").dbg(std::string("--- Leaf constructor called for: ") + name_ + ", kind=" + kind_);
}
};