forked from mirror/vulkan-zig
remove is_pub usage from builtin.Type.Declararion
This field was removed, see
3c08fe931a
This commit is contained in:
@@ -103,7 +103,7 @@ fn reallyRefAllDecls(comptime T: type) void {
|
||||
|
||||
fn reallyRefAllContainerDecls(comptime T: type) void {
|
||||
inline for (comptime std.meta.declarations(T)) |decl| {
|
||||
if (decl.is_pub and @TypeOf(@field(T, decl.name)) == type) {
|
||||
if (@TypeOf(@field(T, decl.name)) == type) {
|
||||
reallyRefAllDecls(@field(T, decl.name));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user