| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | const std = @import("../../std.zig"); | 1 | const std = @import("../../std.zig"); |
| 2 | const lzma = std.compress.lzma; | 2 | const lzma2 = std.compress.lzma2; |
| 3 | const Allocator = std.mem.Allocator; | 3 | const Allocator = std.mem.Allocator; |
| 4 | const ArrayListUnmanaged = std.ArrayListUnmanaged; | 4 | const ArrayListUnmanaged = std.ArrayListUnmanaged; |
| 5 | const Crc32 = std.hash.Crc32; | 5 | const Crc32 = std.hash.Crc32; |
| ... | @@ -155,7 +155,7 @@ pub fn Decoder(comptime ReaderType: type) type { | ... | @@ -155,7 +155,7 @@ pub fn Decoder(comptime ReaderType: type) type { |
| 155 | | 155 | |
| 156 | // Compressed Data | 156 | // Compressed Data |
| 157 | var packed_counter = std.io.countingReader(block_reader); | 157 | var packed_counter = std.io.countingReader(block_reader); |
| 158 | try lzma.lzma2Decompress( | 158 | try lzma2.decompress( |
| 159 | self.allocator, | 159 | self.allocator, |
| 160 | packed_counter.reader(), | 160 | packed_counter.reader(), |
| 161 | self.to_read.writer(self.allocator), | 161 | self.to_read.writer(self.allocator), |