forked from mirror/vulkan-zig
zig stage 2 compatibility
This commit is contained in:
@@ -56,7 +56,8 @@ pub const Element = struct {
|
||||
}
|
||||
|
||||
pub fn findChildByTag(self: Element, tag: []const u8) ?*Element {
|
||||
return self.findChildrenByTag(tag).next();
|
||||
var it = self.findChildrenByTag(tag);
|
||||
return it.next();
|
||||
}
|
||||
|
||||
pub fn findChildrenByTag(self: Element, tag: []const u8) FindChildrenByTagIterator {
|
||||
|
||||
Reference in New Issue
Block a user