Skip to content

Commit

Permalink
remove included header
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Mar 20, 2024
1 parent 01db14c commit 441cd18
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 441cd18

Please sign in to comment.