diff options
| author | 2021-12-06 20:18:55 +1100 | |
|---|---|---|
| committer | 2021-12-06 10:18:55 +0100 | |
| commit | cf8a34d11f0520bdf2afc08eda88862597a88b23 (patch) | |
| tree | 399d4fdb50ff8ee20cb0f8e30ea9d811421abf14 /clap/comptime.zig | |
| parent | Fix regression in last commit (diff) | |
| download | zig-clap-cf8a34d11f0520bdf2afc08eda88862597a88b23.tar.gz zig-clap-cf8a34d11f0520bdf2afc08eda88862597a88b23.tar.xz zig-clap-cf8a34d11f0520bdf2afc08eda88862597a88b23.zip | |
zig master updates: allocator changes (#60)
Diffstat (limited to 'clap/comptime.zig')
| -rw-r--r-- | clap/comptime.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clap/comptime.zig b/clap/comptime.zig index bc6907a..b440004 100644 --- a/clap/comptime.zig +++ b/clap/comptime.zig | |||
| @@ -41,7 +41,7 @@ pub fn ComptimeClap( | |||
| 41 | single_options_is_set: std.PackedIntArray(u1, single_options), | 41 | single_options_is_set: std.PackedIntArray(u1, single_options), |
| 42 | flags: std.PackedIntArray(u1, flags), | 42 | flags: std.PackedIntArray(u1, flags), |
| 43 | pos: []const []const u8, | 43 | pos: []const []const u8, |
| 44 | allocator: *mem.Allocator, | 44 | allocator: mem.Allocator, |
| 45 | 45 | ||
| 46 | pub fn parse(iter: anytype, opt: clap.ParseOptions) !@This() { | 46 | pub fn parse(iter: anytype, opt: clap.ParseOptions) !@This() { |
| 47 | const allocator = opt.allocator; | 47 | const allocator = opt.allocator; |