fix: respond to change in GeneralPurposeAllocator's deinit fn signature
This commit is contained in:
Submodule lib/zig-clap updated: ab69ef2db4...05a50fe7fe
@@ -31,7 +31,7 @@ const params = clap.parseParamsComptime(
|
|||||||
pub fn main() void {
|
pub fn main() void {
|
||||||
// Main Allocator for ZBA
|
// Main Allocator for ZBA
|
||||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||||
defer std.debug.assert(!gpa.deinit());
|
defer std.debug.assert(gpa.deinit() == .ok);
|
||||||
|
|
||||||
const allocator = gpa.allocator();
|
const allocator = gpa.allocator();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user