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 -1
View File
@@ -14,7 +14,8 @@ public:
Logger::get("ConDes").dbg(std::string("--- Complex destructor called for: ") + name_);
}
protected:
ComplexNode(std::string name) : BaseNode(std::move(name)) {
ComplexNode(std::string name, std::string kind) :
BaseNode(std::move(name), std::move(kind)) {
Logger::get("ConDes").dbg(std::string("--- Complex constructor called for: ") + name_);
}
};