Skip to content

Commit

Permalink
Merge branch 'compress-stream-update' of github.com:mapleFU/arrow int…
Browse files Browse the repository at this point in the history
…o compress-stream-update
  • Loading branch information
mapleFU committed Mar 20, 2024
2 parents a69a299 + 441cd18 commit 8d04f5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/io/compressed.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include <algorithm>
#include <cstring>
#include <iostream>
#include <memory>
#include <mutex>
#include <string>
Expand Down Expand Up @@ -202,7 +201,7 @@ Result<std::shared_ptr<CompressedOutputStream>> CompressedOutputStream::Make(
util::Codec* codec, const std::shared_ptr<OutputStream>& raw, MemoryPool* pool) {
// CAUTION: codec is not owned
std::shared_ptr<CompressedOutputStream> res(new CompressedOutputStream);
res->impl_.reset(new Impl(pool, std::move(raw)));
res->impl_.reset(new Impl(pool, raw));
RETURN_NOT_OK(res->impl_->Init(codec));
return res;
}
Expand Down

0 comments on commit 8d04f5e

Please sign in to comment.