fixup! Traverse object tree

This commit is contained in:
Kamil Śliwak 2023-08-25 17:05:25 +02:00
parent f34171f806
commit bfcc87f4a2

View File

@ -187,7 +187,7 @@ vector<size_t> Object::pathToSubObject(YulString _qualifiedName) const
yulAssert(!_qualifiedName.empty(), "");
traverseObjectTree(this, _qualifiedName, [&](Object const* _object) -> bool {
path.push_back({_object->subId});
path.push_back(_object->subId);
return false;
});
return path;