| author | |
| committer | |
| log | be18459c81f831e455750e62f37dae6aeef62f1d |
| tree | 1f2f1d3e1169b7cfa35a060b35e80e91d42f7559 |
| parent | c248af3bdcd17c334e742d53a7ac7bda2422a688 |
| signature |
Co-authored-by: Mikko Kaihlavirta <kaihlavirta@gmail.com>2 files changed, 2 insertions(+), 2 deletions(-)
lib/std/event/group.zig+1-1| ... | @@ -35,7 +35,7 @@ pub fn Group(comptime ReturnType: type) type { | ... | @@ -35,7 +35,7 @@ pub fn Group(comptime ReturnType: type) type { |
| 35 | return Self{ | 35 | return Self{ |
| 36 | .frame_stack = Stack.init(), | 36 | .frame_stack = Stack.init(), |
| 37 | .alloc_stack = AllocStack.init(), | 37 | .alloc_stack = AllocStack.init(), |
| 38 | .lock = Lock.init(), | 38 | .lock = .{}, |
| 39 | .allocator = allocator, | 39 | .allocator = allocator, |
| 40 | }; | 40 | }; |
| 41 | } | 41 | } |
lib/std/event/locked.zig+1-1| ... | @@ -22,7 +22,7 @@ pub fn Locked(comptime T: type) type { | ... | @@ -22,7 +22,7 @@ pub fn Locked(comptime T: type) type { |
| 22 | 22 | ||
| 23 | pub fn init(data: T) Self { | 23 | pub fn init(data: T) Self { |
| 24 | return Self{ | 24 | return Self{ |
| 25 | .lock = Lock.init(), | 25 | .lock = .{}, |
| 26 | .private_data = data, | 26 | .private_data = data, |
| 27 | }; | 27 | }; |
| 28 | } | 28 | } |