Skip to content

Commit

Permalink
removed unnecessary override
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Oct 16, 2023
1 parent cda55ba commit 6a657ee
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions core/lib/types/src/storage/writes/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,6 @@ impl CompressionMode for CompressionByteAdd {

Some(diff)
}

fn compress_extended(&self) -> Option<Vec<u8>> {
match self.compress_value_only() {
None => None,
Some(compressed_val) => {
let mut res: Vec<u8> = vec![];
res.push(metadata_byte(
self.output_size().unwrap(),
self.operation_id(),
));
res.extend(compressed_val);
Some(res)
}
}
}
}

struct CompressionByteSub {
Expand Down

0 comments on commit 6a657ee

Please sign in to comment.