From 441cd18c4c2a8d367b37f48513533943d5cffc51 Mon Sep 17 00:00:00 2001 From: mwish Date: Wed, 20 Mar 2024 23:35:14 +0800 Subject: [PATCH] remove included header --- cpp/src/arrow/io/compressed.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/src/arrow/io/compressed.cc b/cpp/src/arrow/io/compressed.cc index dc52e509ff45c..d06101748dc0c 100644 --- a/cpp/src/arrow/io/compressed.cc +++ b/cpp/src/arrow/io/compressed.cc @@ -19,7 +19,6 @@ #include #include -#include #include #include #include @@ -202,7 +201,7 @@ Result> CompressedOutputStream::Make( util::Codec* codec, const std::shared_ptr& raw, MemoryPool* pool) { // CAUTION: codec is not owned std::shared_ptr 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; }