fix: respond to change in GeneralPurposeAllocator's deinit fn signature
This commit is contained in:
parent
53fb1d163b
commit
f6527da948
|
@ -1 +1 @@
|
|||
Subproject commit ab69ef2db44b6c4b7f00283d52d38fbe71d16c42
|
||||
Subproject commit 05a50fe7fe833059db8550c34bc69fedd8bb0af8
|
|
@ -31,7 +31,7 @@ const params = clap.parseParamsComptime(
|
|||
pub fn main() void {
|
||||
// Main Allocator for ZBA
|
||||
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
|
||||
defer std.debug.assert(!gpa.deinit());
|
||||
defer std.debug.assert(gpa.deinit() == .ok);
|
||||
|
||||
const allocator = gpa.allocator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue