PIValueTree::child(PIStringList) fix

This commit is contained in:
2025-07-17 11:16:47 +03:00
parent ed3d4c4217
commit 1b51d09c58

View File

@@ -183,7 +183,7 @@ const PIValueTree & PIValueTree::child(const PIStringList & path) const {
if (_is_null || path.isEmpty()) return *this;
const PIValueTree * ret = &child(path[0]);
for (int i = 1; i < path.size_s(); ++i)
ret = &child(path[i]);
ret = &(ret->child(path[i]));
return *ret;
}