From 8588964972acc473c09e21958a7e52247c978603 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Mon, 2 Sep 2024 22:32:21 +0100 Subject: Replace deprecated default initializations with decl literals --- src/codegen/spirv/Section.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen/spirv/Section.zig') diff --git a/src/codegen/spirv/Section.zig b/src/codegen/spirv/Section.zig index 20abf8ab70..1fdf884bdb 100644 --- a/src/codegen/spirv/Section.zig +++ b/src/codegen/spirv/Section.zig @@ -15,7 +15,7 @@ const Opcode = spec.Opcode; /// The instructions in this section. Memory is owned by the Module /// externally associated to this Section. -instructions: std.ArrayListUnmanaged(Word) = .{}, +instructions: std.ArrayListUnmanaged(Word) = .empty, pub fn deinit(section: *Section, allocator: Allocator) void { section.instructions.deinit(allocator); -- cgit v1.2.3