fix PIValueTree

This commit is contained in:
2026-04-02 17:35:25 +03:00
parent 22b47799dc
commit a680b7eceb
+1 -1
View File
@@ -217,7 +217,7 @@ PIValueTree & PIValueTree::child(const PIStringList & path) {
if (_is_null || path.isEmpty()) return *this; if (_is_null || path.isEmpty()) return *this;
PIValueTree * ret = &child(path[0]); PIValueTree * ret = &child(path[0]);
for (int i = 1; i < path.size_s(); ++i) for (int i = 1; i < path.size_s(); ++i)
ret = &child(path[i]); ret = &(ret->child(path[i]));
return *ret; return *ret;
} }