aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/compression.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/compression.hh')
-rw-r--r--src/libutil/compression.hh12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/libutil/compression.hh b/src/libutil/compression.hh
index 1bd118b47..dd666a4e1 100644
--- a/src/libutil/compression.hh
+++ b/src/libutil/compression.hh
@@ -25,16 +25,4 @@ MakeError(UnknownCompressionMethod, Error);
MakeError(CompressionError, Error);
-template<>
-struct TeeSink<ref<CompressionSink>> : CompressionSink
-{
- MAKE_TEE_SINK(ref<CompressionSink>);
- void finish() override {
- orig->finish();
- }
- void write(const unsigned char * data, size_t len) override {
- return orig->write(data, len);
- }
-};
-
}