We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7706840 commit d5d060aCopy full SHA for d5d060a
2 files changed
src/IO/Bzip2WriteBuffer.cpp
@@ -14,7 +14,10 @@ namespace ErrorCodes
14
extern const int BZIP2_STREAM_ENCODER_FAILED;
15
}
16
17
-Bzip2WriteBuffer::~Bzip2WriteBuffer() = default;
+Bzip2WriteBuffer::~Bzip2WriteBuffer()
18
+{
19
+ BZ2_bzCompressEnd(&stream);
20
+}
21
22
void Bzip2WriteBuffer::nextImpl()
23
{
@@ -87,11 +90,6 @@ void Bzip2WriteBuffer::finalizeBefore()
87
90
while (true);
88
91
89
92
-void Bzip2WriteBuffer::finalizeAfter()
-{
- BZ2_bzCompressEnd(&stream);
93
-}
94
-
95
96
97
#endif
src/IO/Bzip2WriteBuffer.h
@@ -48,7 +48,6 @@ class Bzip2WriteBuffer : public WriteBufferWithOwnMemoryDecorator
48
void nextImpl() override;
49
50
void finalizeBefore() override;
51
- void finalizeAfter() override;
52
53
bz_stream stream;
54
bool compress_empty = true;
0 commit comments