object: fix Modules().init error
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
60df3e7cdc
commit
b4e2da1b69
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ pub fn Modules(module_lists: anytype) type {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn init(m: *@This(), allocator: std.mem.Allocator) std.mem.Allocator.Error!void {
|
pub fn init(m: *@This(), allocator: std.mem.Allocator) (std.mem.Allocator.Error || std.Thread.SpawnError)!void {
|
||||||
m.* = .{
|
m.* = .{
|
||||||
.mods = undefined,
|
.mods = undefined,
|
||||||
.graph = undefined,
|
.graph = undefined,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue