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

Теперь конкретные узлы не сами устанавливают себе `kind_`, а делают это
через `BaseNode` — единую точку входа.
This commit is contained in:
Сергей Маринкевич
2025-10-08 17:39:31 +07:00
parent 43b44d7ee5
commit eff0b26a53
6 changed files with 14 additions and 18 deletions
+2 -1
View File
@@ -15,7 +15,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_);
}
};